3.0.2 • Published 3 months ago

nidirect-frontend v3.0.2

Weekly downloads
32
License
ISC
Repository
github
Last release
3 months ago

Guidance for installing the nidirect-frontend node package manager (npm) package

  • For more information on npm, read the node.js article, What is npm?

Before you install the nidirect-frontend package

You will need to:

  • Install node.js
  • Install govuk-frontend npm package version 5.0.0 or above.
    For guidance on how to do this, visit the GOV.UK frontend website.
  • Install a SASS compiler to generate the CSS code for both packages.
    Most popular integrated development environments (IDE) support plugins or extensions that allow you to compile SASS easily. Or if you prefer, you can compile the SASS manually using the command line.

Installing the nidirect-frontend package

  1. Open a command line window
  2. Navigate to root folder of your application using the change directory command cd followed by the path to the root folder of your application.

    For example: cd user/documents/myapplication

  3. Within your application's root folder, install the npm package using the command:

    npm i nidirect-frontend

  4. When the installation finishes, the nidirect-frontend package will be in the same folder that govuk-frontend package is held.

Implementing the code in your project

  1. Check that both the govuk-frontend and nidirect-frontend packages are in your project folder
  2. Use a SASS compiler with the file nidirect-all.scss to generate the CSS code for both packages.
3.0.2

3 months ago

3.0.1

3 months ago

3.0.0

3 months ago

2.1.0

1 year ago

2.0.0

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago