@zhangbintian/nuxt-modularize
v0.0.8
Published
A simple way to separate nuxt as you want
Downloads
1
Readme
Nuxt-Modularize
A simple way to separate nuxt as you want
Features
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
Setup
- Add
@zhangbintian/nuxt-modularize
dependency to your project
yarn add @zhangbintian/nuxt-modularize -D # or npm install @zhangbintian/nuxt-modularize -D
- Add
@zhangbintian/nuxt-modularize
to themodules
section ofnuxt.config.js
{
modules: [
// Simple usage
'@zhangbintian/nuxt-modularize',
// With options
['@zhangbintian/nuxt-modularize', { /* module options */ }]
]
}
How To Use
Development
- Clone this repository
- Install dependencies using
yarn install
ornpm install
- Start development server using
npm run dev
License
Copyright (c) FEMessage