@query-api/next
v0.8.0
Published
Craft CMS Query Builder for Next
Downloads
26
Maintainers
Readme
Install
npm install @query-api/next[!TIP]
Features
- Query builder: Easily build and execute queries directly from Next, enabling flexible, real-time data retrieval from Craft CMS
- Server & Client Component Support: Use it in client components or server components with dedicated functions and hooks.
- Built in Helper Components: Connect your data directly with your React components, to speed up development.
- Get Only the Data You Need: Avoid overfetching by using a custom function in the query builder to select only the fields you require.
- Pretty Json: Json Transformer are in place to prettify the response.
- Support for Main Element Types: Query addresses, assets, entries and users.
- Full Typescript Suppport: Craft Query Builder with typescript support pretty cool hah?😎
- Multisite Helper Functions: Built in hooks and functions to support Craft Multisites.
Requirements
This plugin requires Next >=15 and the Craft Query API installed on your Craft CMS instance.
Documentation
Visit the Next SDK documentation for all documentation, guides and developer resources.
Further Resources
- Craft CMS Plugin: The Craft CMS Plugin, that powers this great stuff.
- JS SDK: The core package of the query builder.
Support
If you encounter bugs or have feature requests, please submit an issue. Your feedback helps improve the library!
