Skip to content

SCSS Import appears to be incorrect. #46

Closed

Description

@charlesomer

Just tried to use the following as indicated by the wiki:
import "~nhsuk-frontend/packages/core/all.scss";
However, it appears to not work as expected whereas import "nhsuk-frontend/dist/nhsuk.css"; does (as storybook uses I think?)

Activity

  1. colinrotherham commented on Sep 11, 2025

    @colinrotherham
    Collaborator

    Looks like this was fixed previously

    Paths will be changing again in NHS.UK frontend v10.0.0 but this is included in #267

    - @import '../node_modules/nhsuk-frontend/packages/nhsuk.scss';
    + @import 'nhsuk-frontend/dist/nhsuk';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions