V
V
Vyacheslav Shindin2016-09-13 08:10:13
gulp.js
Vyacheslav Shindin, 2016-09-13 08:10:13

How to add custom class using laravel 5.3 + gulp + scss?

Using Laravel 5.3 + gulp, added sass/myfile.scss, and sass/myfile.css, added elixir(function(mix) {mix.sass('myfile.scss');}); , added class .my-class { color: #112233; to myfile.css file; }. The problem is that after running gulp, this class is not in the compiled css. What am I doing wrong?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
anitspam, 2016-09-13
@pro_co_ru

at first glance, you say to work with the myfile.scss file,
but make changes to myfile.css (do you need it for some reason and do you refer to it somewhere?)
try adding your class to myfile.scss and see the result

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question