Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/azurewarth0920/nuxt-dynamic-content

A Nuxt.js plugin that using content to generate static pages with dynamic routing.
https://github.com/azurewarth0920/nuxt-dynamic-content

jamstack nuxt nuxt-content nuxt-module nuxtjs static-site-generator

Last synced: about 1 month ago
JSON representation

A Nuxt.js plugin that using content to generate static pages with dynamic routing.

Awesome Lists containing this project

README

        

# nuxt-dynamic-content
A Nuxt.js JAM stack plugin that generating static site with dynamic resource.

## Installation

Use yarn

```bash
yarn add nuxt-dynamic-content
```

or npm

```bash
npm install nuxt-dynamic-content
```

Then, add `nuxt-dynamic-content` to the `modules` section of `nuxt.config.js`:

```JavaScript
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.

```JavaScript
import dynamicContent from 'nuxt-dynamic-content'
import dynamicContentConfig from '~/some-folder/'

{
modules: [
[dynamicContent, dynamicContentConfig]
]
}
```

## Documentation

To [Documentation](https://azurewarth0920.github.io/nuxt-dynamic-content/).