snowpack-plugin-nunjucks

Use Nunjucks to build .njk files from source.

Usage no npm install needed!

<script type="module">
  import snowpackPluginNunjucks from 'https://cdn.skypack.dev/snowpack-plugin-nunjucks';
</script>

README

snowpack-plugin-nunjucks

npm

Use Nunjucks to build .njk files from source.

Usage

From a terminal, run the following:

npm install --save-dev snowpack-plugin-nunjucks

Then add this plugin to your Snowpack config:

// snowpack.config.json
{
  "plugins": [
    "snowpack-plugin-nunjucks"
  ]
}