Nuxt layer for providing components for integrating the Drupal CMS with Lupus Decoupled.
The layer consist of multiple sub-layers for the respective drupal-cms recipes, e.g.
- layers/blog - For Lupus Decoupled Blog
- layers/news - For Lupus Decoupled News
All layers are automatically added when the main CMS layer is added.
Simple add the following to your nuxt config file:
extends: ['github:drunomics/nuxt-drupal-cms-layer'],
It will automatically add all the sub-layers and register the components within, so they are ready to use.
Make sure to install the dependencies:
pnpm install
Your layer is at the root of this repository, it is exactly like a regular Nuxt project, except you can publish it on NPM.
The .playground
directory should help you on trying your layer during development.
Running pnpm dev
will prepare and boot .playground
directory, which imports your layer itself.
Start the development server on http://localhost:3000
pnpm dev