user3818576 user3818576 - 1 year ago 154
Sass (Sass) Question

How to run sass in wordpress?

I have theme and I add sass and gulp in my theme. here are the list of file I have.
enter image description here

I would like to ask How can I run sass in my theme? I try to google it, but no right explanation how they did it. I found this also link, but no clear explanation. Please help me. I want to learn more about sass. If you have tutorial. please give me link.
sorry i didn't mention the OS I used. I used windows.

Answer Source

You have assets folder. All source files including .scss files must be there. Then add gulp task to compile scss. It will take files from assets folder and put them to dest folder (dest folder is for compiled resources). Then add link to compiled .css file from dest to wp header.


Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download