Install with Node.js package manager (npm)
If you have not already installed version 4.2.0 or later of Node.js, install the latest Long Term Support (LTS) version.
cdto the root of your project and check if you have a
package.jsonfile. If you do not have the file, create it by running:
- LibSass - version 3.3.0 or higher
Dart Sass - version 1.0.0 or higher
GOV.UK Frontend also works with Ruby Sass version 3.4.0 or higher, but we recommend you do not use Ruby Sass because it’s been deprecated.
Install GOV.UK Frontend
npm install govuk-frontend --save
When the installation finishes, the
govuk-frontend package will be in your