Wordpress Themes starter to built wordpress themes based on sass structure
Save your times. This template starter for you who work with Converting HTML to wordpress themes, the directory already included using the best way (i think :) ).
You need this installed on your computer
Clone this repo, open terminal or CMD and place to the right directory and run the following command.
npm install
You will see new directory called node_modules
Make sure all package installed include gulp, if not do this command:
npm install -g gulp
If you failed install all package automatically, please install one by one using npm.
This starter-template included gulp-sass, to compile sass (.scss file) to .css file, run the following command:
To wacth sass files changes and run compiler automatically
gulp-watch
The media Query for css, using boottsrap media query, Learn more here. And you can set, edit and add variables on assets/sass/helpers/variables.scss
Run/compile scss to css manually
gulp process-css
The file created:
- main.css
- main.min.css
- main.min.css.map
The css will stored into assets/css/
- Abd Hannan - Initial work - Abd Hannan
This project is licensed under the MIT License - see the LICENSE.md file for details
Dibuat dengan cinta dari Madura, Indonesia :)