This module solves the problem with creating meta data for layers. It automatically scans all changes and creates a .nuxt
folder in the layer if there were changes there.
This is a temporary solution until nuxt developers add this to the kernel! As soon as it appears in the kernel this package will be deprecated!
Linked issues:
# Using pnpm
pnpm add nuxt-layers-prepare -D
# Using yarn
yarn add nuxt-layers-prepare -D
# Using npm
npm install nuxt-layers-prepare -D
Add nuxt-layers-prepare
to the modules
section of nuxt.config.ts
export default defineNuxtConfig({
modules: ['nuxt-layers-prepare']
})
A huge thank you to everyone who is helping to improve nuxt-layers-prepare. Thanks to you, the project can evolve!
Here are some ways you can contribute:
- Open an issue to report a bug.
- Create a pull request to add a new feature or fix a bug.
This app is open-sourced software licensed under the MIT license.