Support the ongoing development of Laravel.io →
Configuration Views Blade
Last updated 1 year ago.
0

do you have a .sass('resources/sass/app.scss', 'public/css'); in your webpack.mix.js in your root folder? then run npm run watch ?

0

@Cameron Yes. I do have .sass('resources/sass/app.scss', 'public/css'); in my webpack.mix.js

I tried ** "npm run watch"** and that seems to have achieved the proper result.

Thank you for your assistance.

0

Each time you change a sass file , or js, webpack will need to recompile. Keeping mom run watch on will do it for you when you save a file, otherwise mom run dev will compile for dev, just be sure to flag production for production websites

0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.