Using SASS in a JSF Web Application

I am starting to learn JSF / PrimeFacess.

I play and try to find a better way to use sass instead of writing pure css for the project.

I looked at gulp and workflow automation features like compiling sass files to css

Now my question is - where is the best place to put sass files in the jsf / primeface project directory tree?

Mine, although this is to create a subfolder in srcwith the name sassand use gulp.js to look at the folder and compile all the changes in audacity Puth feeds them to the resources/cssfolder `Web / WEB-INF / CSS.

It makes sense?

+4
source share
1 answer

Instead of saving resources, the folder structure / css will be better if the folder structure is something like includes / public / resources / common / css , or something specific to the module, or general, for example includes / public / resources / MODULE _NAME / css for alignment in the best structure of the project.

Hope this helps!

0
source

Source: https://habr.com/ru/post/1539981/


All Articles