https://github.com/hywax/nuxt-layers-prepare
Nuxt module for preparing Nuxt layers
https://github.com/hywax/nuxt-layers-prepare
node nuxt-module nuxt3 typescript worker-threads
Last synced: 11 months ago
JSON representation
Nuxt module for preparing Nuxt layers
- Host: GitHub
- URL: https://github.com/hywax/nuxt-layers-prepare
- Owner: hywax
- License: mit
- Created: 2024-10-16T07:48:36.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-05T19:06:19.000Z (over 1 year ago)
- Last Synced: 2024-12-05T20:19:25.855Z (over 1 year ago)
- Topics: node, nuxt-module, nuxt3, typescript, worker-threads
- Language: TypeScript
- Homepage:
- Size: 190 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Nuxt Layers Prepare
[![npm version][npm-version-src]][npm-version-href]
[![npm downloads][npm-downloads-src]][npm-downloads-href]
[![License][license-src]][license-href]
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:
- [nuxt#24048](https://github.com/nuxt/nuxt/issues/24048)
## Installation
```bash
# Using pnpm
pnpm add nuxt-layers-prepare -D
# Using yarn
yarn add nuxt-layers-prepare -D
# Using npm
npm install nuxt-layers-prepare -D
```
## Usage
Add `nuxt-layers-prepare` to the `modules` section of `nuxt.config.ts`
```js
export default defineNuxtConfig({
modules: ['nuxt-layers-prepare']
})
```
## Contributing
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](https://github.com/hywax/nuxt-layers-prepare/issues/new/choose) to report a bug.
- [Create a pull request](https://github.com/hywax/nuxt-layers-prepare/compare) to add a new feature or fix a bug.
## License
This app is open-sourced software licensed under the [MIT license](https://github.com/hywax/nuxt-layers-prepare/blob/main/LICENSE).
[npm-version-src]: https://img.shields.io/npm/v/nuxt-layers-prepare/latest.svg?style=flat&colorA=18181B&colorB=28CF8D
[npm-version-href]: https://npmjs.com/package/nuxt-layers-prepare
[npm-downloads-src]: https://img.shields.io/npm/dm/nuxt-layers-prepare.svg?style=flat&colorA=18181B&colorB=28CF8D
[npm-downloads-href]: https://npmjs.com/package/nuxt-layers-prepare
[license-src]: https://img.shields.io/npm/l/nuxt-layers-prepare.svg?style=flat&colorA=18181B&colorB=28CF8D
[license-href]: https://npmjs.com/package/nuxt-layers-prepare