Setup
Transform the NuxtJS project into a Micro Service architecture✨
Libraries
📦 Requirements
- Vue.js (v2.x)
- Nuxt.js (v2.x)
- Nuxt Router
The project must have all the required libraries for VueMS to work properly
🚀 Power Supplies
The use of optional libraries is described here
Installation
Add @ergonode/vuems
dependency to your project:
npm install @ergonode/vuems
yarn add @ergonode/vuems
Then, add @ergonode/vuems
to the buildModules
section of nuxt.config.js
:
nuxt.config.js
export default {
buildModules: ['@ergonode/vuems']
}
Configure
nuxt.config.js
export default {
buildModules: [
'@ergonode/vuems'
],
vuems: {
/* module options */
},
}
More about module options here!