Skip to main content
Back

Updating HMRC Frontend in your prototype

This guide explains how to update HMRC Frontend to get the latest features. You must have already installed hmrc-frontend for these to work.

Step 1

Using GitBash or Terminal, navigate to where your prototype is. For example

cd ~/Documents/projects/project-prototype

If your prototype is already running, to stop it use

Ctrl + C

Step 2

Enter

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.