Expose Directus collections as global data in 11ty
The Eleventy Plugin Directus is a tool that enables users to expose Directus collections as global data in the 11ty static site generator. This plugin creates filters to manage assets URLs and translations, creates a directus.collections.all collection, and allows users to make pages out of Directus collections. While the plugin is a work in progress, it is used in production at Internet 2000 and welcomes pull requests for further development. The plugin aims to improve the integration between 11ty and Directus, two open-source tools that work well together and share a "simple is beautiful" philosophy.
The Eleventy Plugin Directus is a useful tool for integrating Directus collections into an 11ty static site generator. By exposing Directus collections as global data, users can easily access and use the data in their templates. The plugin also provides additional features such as filters for managing assets URLs and translations. While the plugin is still in development, it is already being used in production and welcomes contributions from the community. Overall, the Eleventy Plugin Directus enhances the integration between 11ty and Directus, creating a powerful tech stack for building static and dynamic websites.
11ty is a static site generator that allows developers to build fast, modern websites using HTML, Markdown, and other templating languages, without the need for a complex build system.
A website that uses Directus as an open source headless CMS to manage content. This includes features such as a customizable content model, role-based access control, and API-based content delivery to support a wide range of digital experiences.
Recoil is a state management library for React that provides an intuitive and flexible API for managing and sharing state across components. It supports a range of features, including derived state, asynchronous updates, and time-travel debugging, and is designed to work well with the React ecosystem and other state management solutions.