This guide explains how to update HMRC Frontend to get the latest features. You must have already installed hmrc-frontend for these to work.
Using GitBash or Terminal, navigate to where your prototype is. For example
If your prototype is already running, to stop it use
Ctrl + C
npm update --save hmrc-frontend
Once you have installed HMRC Frontend, All HMRC patterns should work in your prototype.
To use the patterns, you should:
- find the pattern in HMRC Design Patterns
- copy the code from the example
- paste the code into the page in your prototype
If you are using an older version of the prototype kit please use the manual installation steps for older prototype kits.