@modernpoacher/zashiki-govuk-frontend

GOV.UK Frontend for Zashiki

Usage no npm install needed!

<script type="module">
  import modernpoacherZashikiGovukFrontend from 'https://cdn.skypack.dev/@modernpoacher/zashiki-govuk-frontend';
</script>

README

@modernpoacher/zashiki-govuk-frontend

Zashiki GOV.UK Frontend

Implements GOV.UK Frontend for Zashiki Karakuri.

Installation

npm i -P @modernpoacher/zashiki-govuk-frontend

Usage

  • Optionally, build the JS in src to lib (the published JS is built according to the configuration in babel.config.js)
  • Import the built JS from lib

Structure

Nunjucks

  • Component macros and templates are in components
  • Views are in views

JavaScript:

  • Transformers are in src/transformer