What does your webpack.mix.js file look like?
Make sure it includes
mix.sass('resources/assets/sass/app.scss', 'public/css/app.css');
mix.sass('resources/assets/sass/custom.scss', 'public/css/custom.css');
Or something similar along those lines.
I have two scss files in "resources/assets/sass/" - app.scss and custom.scss. Whenever I run npm run dev, The js assets compile but the scss assets are completely ignored no matter what I do. I am trying on a fresh install of laravel 5.4.
versions: Laravel : 5.4.19 Node: 6.10.1 npm: 3.10.10 Laravel-mix: 0.11.3
I found out what the problem was. Turns out my assets were not compiling because of the project directory's full path. The project directory's full path should not have any spaces or round brackets in it so i moved it to a different location and it's working fine now. My project was at "C:\Program Files (x86)\Ampps\www\project-name" I moved it to "C:\Ampps\www\project-name" and it started working
Please or to participate in this conversation.