GovTechSG / sgds-govtech-react

React components for SGDS
https://react.designsystem.tech.gov.sg/
MIT License
16 stars 6 forks source link

'sgds-govtech/sass/sgds.css' not found #30

Closed ijasm closed 4 years ago

ijasm commented 4 years ago

I can't seem to import the sdgs.css in my entry point.

import 'sgds-govtech/sass/sgds.css'

When I do that, I get this:

Failed to compile.

./src/index.tsx
Module not found: Can't resolve 'sgds-govtech/sass/sgds.css' in '/Users/jasm/projects/mol/mol-web-bff/wasj-web/src'
ijasm commented 4 years ago

resolved it by installing sgds-govtech on top of sgds-govtech-react