- Save the content of public/css/custom.css in resources/assets/sass/_custom.scss
You have to change the file extension to .scss and add an underscore at the beginning. The underscore will be useful when importing in your main app.scss file.
-
Import your resources/assets/sass/_custom.scss file into your resources/assets/sass/app.scss this way :
/* importing _custome.scss from the same directory containing the following files resources/assets/sass/{app.scss, _custom.scss, _variables.scss} */