nuxt-dynamic-content
v0.0.3
Published
A Nuxt.js plugin that using content to generate static pages with dynamic routing.
Downloads
2
Readme
nuxt-dynamic-content
A Nuxt.js JAM stack plugin that generating static site with dynamic resource.
Installation
Use yarn
yarn add nuxt-dynamic-content
or npm
npm install nuxt-dynamic-content
Then, add nuxt-dynamic-content
to the modules
section of nuxt.config.js
:
import dynamicContent from 'nuxt-dynamic-content'
{
modules: [
dynamicContent
]
}
and don't forget to put config file content.config.js
in module
folder, or you can import your config into module section.
import dynamicContent from 'nuxt-dynamic-content'
import dynamicContentConfig from '~/some-folder/'
{
modules: [
[dynamicContent, dynamicContentConfig]
]
}
Documentation
To Documentation.