A simple way to separate nuxt as you want
Use this nuxt module you can:
- Split few independent module for development
- Build Nuxt on demand
- Composing a pages with Components friendly, such as dividing a page into some components in a same views directory
- Other development experience same as Nuxt
- Add
@femessage/nuxt-modularize
dependency to your project
yarn add @femessage/nuxt-modularize -D # or npm install @femessage/nuxt-modularize -D
- Add
@femessage/nuxt-modularize
to themodules
section ofnuxt.config.js
{
modules: [
// Simple usage
'@femessage/nuxt-modularize',
// With options
['@femessage/nuxt-modularize', { /* module options */ }]
]
}
- Clone this repository
- Install dependencies using
yarn install
ornpm install
- Start development server using
npm run dev
Copyright (c) FEMessage