Just used the Get Started guide and had a couple of points of feedback:
- The get started guide says Sass is a requirement
https://frontend.design-system.service.gov.uk/installing-with-npm/#requirements
However, the main way it tells you to use the CSS is to copy the rendered css file into your app. I don't think this requires Sass?
- When I tried to get Sass working, it failed because of the path. The instructions say to do this
@import "node_modules/govuk-frontend/dist/govuk/index";
However, I think this would only work if the Sass file is in the root of the project, which seems unlikely? I only got it working after adding --load-path=node_modules to my sass command and dropping node_modules in the import line.
Just used the Get Started guide and had a couple of points of feedback:
https://frontend.design-system.service.gov.uk/installing-with-npm/#requirements
However, the main way it tells you to use the CSS is to copy the rendered css file into your app. I don't think this requires Sass?
However, I think this would only work if the Sass file is in the root of the project, which seems unlikely? I only got it working after adding
--load-path=node_modulesto my sass command and droppingnode_modulesin the import line.