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 */
}
}
This module was created to simplify the creation of administration panels.
Mapo was born as a frontend companion of the Camomilla project, but it was created with the aim of being agnostic about the backend. This is why we have enclosed the logic linked to the Camomilla project (camomilla-integrations) in a compatibility layer.
If you want to try the project with Camomilla as a backend, just follow the instructions you will find here. Otherwise you can write your backend with the framework and language you prefer. You can also write new integrations to connect Mapo to other existing api backends.
$mapo
core sevices to provide set of utilities.components
in the default nuxt component discovery.📑 Read more from the documentation.
yarn bootstrap
yarn dev
Feel free to contribute to the project by making a Pull Request.
Here's an example for a branch naming:
feature/<branch name>
Once you're done with your work and are ready to make a Pull Request, set the reviewers to Gabriele Baldi (bnznamco) and Andrea Morosi (andreamorosi).
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.
yarn doc:gen
yarn doc:dev
The project comes with a pre-installed cypress suite. The number of e2e/unit tests present for now is low. So we invite contributors to write tests as well as new features.