0

I have checked out this answer but just wondering if there is a better way of importing a CSS file into a react component just like any other JS file.

something like SCSS's @import url('cdn-url.css') And without using webpack or react-script-loaders

Any ideas would be appreciated.

Fatah
  • 2,184
  • 4
  • 18
  • 39

1 Answers1

0

you can link your cdn in index.html... if u want to use sass you need to follow oficial documentation(dont require eject)

Mladen Skrbic
  • 154
  • 2
  • 12