@property-management/modular-nuxt
v1.0.0
Published
Nuxt modular management
Downloads
1
Maintainers
Readme
Nuxt Modular
Nuxt modular management
Install
npm install --save @property-management/modular-nuxt
Add @property-management/modular-nuxt
to modules section of nuxt.config.js
:
{
modules: [
'@property-management/modular-nuxt'
]
}
Usage
This module allows you to build your app in modules.
By default the folders within modular
will be considered modules and within each module you can use the same root structure, that is, your module can contain
layouts
, middleware
, plugins
, pages
, static
, store
.
Ex:
modular
example1
pages
index.vue
example2
pages
index.vue
pages
index.vue
You should be able to access this:
/ -> pages/index.vue
/example1 -> modular/example1/pages/index.vue
/example2 -> modular/example2/pages/index.vue