MIT License
X Module for Nuxt.js
nuxt-module-template
dependency to your projectyarn add nuxt-module-template # or npm install nuxt-module-template
nuxt-module-template
to the modules
section of nuxt.config.js
/// nuxt.config.js
{
modules: [
// Simple usage
'nuxt-module-template',
// With options
['nuxt-module-template', { /* module options */ }]
]
}
Or a separate section nuxt-module-template
for module options:
// nuxt.config.js
{
modules: [
// Simple usage
'nuxt-module-template',
],
'nuxt-module-template': {
/* all other options */
}
}
Move to the docs
directory:
cd docs
Install dependencies and start the project in development mode:
yarn && yarn dev
yarn install
or npm install
npm run dev
Copyright (c) Baroshem [email protected]