susanBuck / e15-spring22

0 stars 0 forks source link

SCSS and Laravel? #32

Closed luannebe closed 2 years ago

luannebe commented 2 years ago

I don't plan to use any complicated CSS for P2 -- since my head is swimming with the essential Laravel concepts -- but I am curious how SCSS and how its transpilation/minification could co-exist with Laravel. Does anyone have any thoughts about this?

susanBuck commented 2 years ago

Hi @luannebe -

Laravel has a tool called Mix that can assist with transpilation/minificiation: https://laravel.com/docs/9.x/mix#main-content

It simplifies the process of working with Webpack, and has support for SCSS.

If you dig into it and have any questions, let me know. :)

luannebe commented 2 years ago

Thank you!!! I will give it a try.

luannebe commented 2 years ago

Hi, I installed Mix and Tailwind CSS ... so far so good. Thank you, @susanBuck !

susanBuck commented 2 years ago

@luannebe np!