mapomodule
v1.0.0-alpha.53
Published
Mapo is a nuxt module that helps in the creation of Administration Panels.
Downloads
32
Readme
mapomodule
Setup
Add mapomodule
dependency to your project
yarn add --dev mapomodule # or npm install --save-dev mapomodule
Add mapomodule to the modules section of nuxt.config.js
{
modules: [
// Simple usage
'mapomodule',
// With options
['mapomodule', { /* module options */ }]
]
}
You can add options also from top level nuxt.config.js
{
modules: [
'mapomodule'
],
mapo: {
/* module options */
}
}
Features
- Exposes
$mapo
core sevices to provide set of utilities. - Injects mapo
components
in the default nuxt component discovery. - Adds meta information to router module from nuxt pages.
📑 Read more from the documentation.
How to contribute
- Clone this repository
- Install dependencies using
yarn bootstrap
- Start development server using
yarn dev
Documenting components
Always write some documentation regarding the components you're developing. Our documentation is generated directly from code thanks to @Vuepress, @Vuese and @jsdoc-to-markdown.
- Generate doc
yarn doc:gen
- Preview vuepress doc
yarn doc:dev