1.1.0 • Published 6 months ago

@vituum/vite-plugin-nunjucks v1.1.0

Weekly downloads
-
License
-
Repository
github
Last release
6 months ago

⚡💡️ ViteNunjucks

import nunjucks from '@vituum/vite-plugin-nunjucks'

export default {
    plugins: [
        nunjucks()
    ],
    build: {
        rollupOptions: {
            input: ['index.njk.html']
        }
    }

}
  • Read the docs to learn more about the plugin options.
  • Use with Vituum to get multi-page support.

Basic usage

or

<!-- index.njk with index.njk.json -->
{{ title }}

or

<!-- index.json  -->
{
  "template": "path/to/template.njk",
  "title": "Hello world"
}

Requirements

1.1.0

6 months ago

1.0.0

11 months ago

1.0.0-alpha.1

11 months ago

1.0.0-beta.1

11 months ago

0.1.4

1 year ago

0.1.5

1 year ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago

0.0.1

2 years ago