Skip to content

klepon/jalan-jalan-gulp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node v10.23.2 npm v7.5.3

precompile for wp theme, support scss, js and react

  1. create wp theme as normal

  2. put this folder under wp-content

  3. edit 2 first line of gulpfile.js

themeName = 'jalan-jalan', // your theme folder

localWpAddress = "klepon/_wp-theme-builder/", // wp url for auto reload, remove http://

  1. open terminal/command line, got to this folder

  2. install node module

$ npm install

For mac user, use sudo and agreeing xcode t&c may require on install, read all blocker message on fail installing node modules

build and running server for development

$ npm start

build for production

$ npm run build

compiled js and css will be put on themeName/assets don put any file manually inside themeName/assets folder, on build this folder will be recreate

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published