Create a headless Craft CMS project with the Query API in seconds.
Make sure you have npx installed (npx is shipped by default since npm 5.2.0)
npx create-query-api <my-project-name>The name of the project to be created. Can be passed as a positional argument or will be prompted interactively.
Choose a template for the new project. Possible values are:
vue- Vue Starternuxt- Nuxt Starterreact-vite- React Vite Starternext- Next.js Startercraft-only- Only Craft CMS with no frontend
If no template is provided, an interactive selection will be shown.
Runs the command in dry-run mode. No changes will be made, only a preview of the actions will be shown.
Shows help and all available options.