A
A
Anton Mashletov2017-06-17 18:15:51
Yii
Anton Mashletov, 2017-06-17 18:15:51

Where is it customary to store scss/js files?

Where is it customary to store scss / js files that are compiled using gulp into a single minified file that can already be published? There seems to be no special folder, but I would not like to upload them to webroot.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
M
Maxim Fedorov, 2017-06-19
@qonand

It is better to store them in a resource bundle and transform them using the built-in asset manager

B
Bogdan, 2017-06-17
@bogdan_uman

create folder "styles\" for - css, and "scripts\" - for js

S
sergey, 2017-06-17
@zorro76

this is written in gulpfile.js by default, for styles, for example
and gulp itself will configure everything for you and output

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question