Reputation: 3401
I have theme and I add sass and gulp in my theme. here are the list of file I have.
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.
Upvotes: 0
Views: 3522
Reputation: 1256
Also, look at setting up a child theme, then you can keep all your code isolated.
Upvotes: 0
Reputation: 21681
Please follow steps mentioned here
Hope this helps you.
Upvotes: 1
Reputation: 5350
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.
Upvotes: 1