Build for theme

Hi, is there a recommended way to build and package a theme which can be directly added to wp themes folder? ie it doesnt have to be built again ? Thanks

For Sage 9 just run yarn build:production and zip up everything except node_modules.

2 Likes

/resources/assets doesn’t need to be included, but everything else in /resources does.

1 Like

Even when i do i get the error stylesheet missing when i upload the zip, any ideas why ?

Sage doesn’t support the zip upload method of deployment without some modification.

Yes… I Solved It Using These Steps