Warning
This npm package is still in production and important features may change.
Install the module to your Nuxt application with one command:
npx nuxi module add nuxt-craftcms
Add a craftcms config to your nuxt.config.js
and replace the baseUrl with your Craft CMS url.
import { defineNuxtConfig } from 'nuxt';
export default defineNuxtConfig({
modules: ['nuxt-craftcms'],
craftcms: {
baseUrl: 'https://backend-craftcms.ddev.site'
}
});
- Bugs or Feature Requests? Submit an issue.
Contributions are welcome! <3