Skip to content
This repository has been archived by the owner on Apr 26, 2021. It is now read-only.
/ cmc-common-frontend Public archive

Reusable UI components for Civil Money Claims frontend applications

License

Notifications You must be signed in to change notification settings

hmcts/cmc-common-frontend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CMC common -frontend

This project contains common items for sharing across Civil Money Claims projects.

Install

Run:

$ yarn add @hmcts/cmc-common-frontend

Nunjuck Macros

Add the macros folder of this project to your nunjucks search path:

nunjucks.configure([
  path.join(__dirname, '..', '..', 'views'),
  path.join(__dirname, '..', '..', '..', '..', 'node_modules', '@hmcts', 'cmc-common-frontend', 'macros'),
], {
  autoescape: true,
  express: app
})