Skip to main content Skip to main content

Production

How to set up your project so you can start using the styles and coded examples in the MoJ Design System in production.

Import JavaScript

Several MoJ Design System components use JavaScript to provide interactive features. In order to fully use these components you will need to add some code to your service to set up the JavaScript.

View the ‘Import JavaScript’ documentation

Use Nunjucks

You can use our Nunjucks code to generate the HTML for pages and components. You can also change the HTML that’s generated by passing options into the Nunjucks code.

View the ‘Use Nunjucks’ documentation