E
E
Emil Rakhmatullin2020-12-30 09:07:05
Laravel
Emil Rakhmatullin, 2020-12-30 09:07:05

Connecting SASS to all components at the same time in a Laravel project?

In Gulp 4, I connected all SASS components like this:
@import "components/*/**"
it worked fine.

In a Laravel project, however, this does not work. You have to list the connected SASS components according to the list. How to include all SASS components in the components
directory in a Laravel project ?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Mikhail Mingareev, 2020-12-30
@liahkim

if I understood everything correctly, then write in webpack.mix.js:
mix.sass( path to the components /*.scss, public/css folder);

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question