to import sass files you first need to install node-sass but its installed code example Example: scss react npm install node-sass --save