Giter Club home page Giter Club logo

nidirect-frontend's Introduction

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.

nidirect-frontend's People

Contributors

amcalinney avatar davidmcclelland-ux avatar goudiel avatar rorycampbell avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.