Skip to content

samuelreichor/nuxt-craftcms

Repository files navigation

Vue craftcms banner

nuxt-craftcms

Write Craft CMS queries in nuxt, like in twig. 🚀🚀


Nuxt craftcms latest version Nuxt craftcms downloads

Warning

This npm package is still in production and important features may change.

Quick Setup

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'
  }
});

Further Resources

Support

Contributing

Contributions are welcome! <3