HTML Theme Builder is an environment to build HTML templates more efficiently.
- Download this as a zip. Then extract it and rename to your project
- Install nodejs and follow the instructions on how to do that on https://nodejs.org/
- After installing nodejs on your computer open up your Command Line Tool and execute: $ npm install --global gulp
- Navigate to the root of your project and execute: $ npm install
- Now all setup done, run it by executing: $ gulp
The root of your project has the following basic structure:
project
|
|-- app
| |
| |-- _sections
| | |
| | |-- header.htm
| | |-- footer.htm
| | |-- home-slider.htm
| | |-- home-about.htm
| | |-- element-top-area.htm
| | |-- element-footer.htm
| |
| |-- img
| | |
| | |-- elements
| | |
| | |-- products
| | |
| | |-- other
| | |
| | |-- patterns
| | |
| | |-- shop
| | |
| | |-- slider
| | |
| | |-- logo.png
| | |-- logo-sm-light.png
| | |-- favicon.png
| |
| |-- js
| | |
| | |-- custom.js
| |
| |-- plugins
| | |
| | |-- bootstrap
| | |
| | |-- font-awesome
| | |
| | |-- owl-carousel
| | |
| | |-- smoothscroll
| |
| |-- scss
| | |
| | |-- partials
| | | |
| | | |-- _media-query.scss
| | | |-- _mixins.scss
| | | |-- _variables.scss
| | |
| | |-- elements
| | | |
| | | |-- _basic-alert.scss
| | | |-- _basic-card.scss
| | | |-- _basic-form.scss
| | | |-- _elements.scss
| | |
| | |-- _header.scss
| | |-- _footer.scss
| | |-- _about.scss
| | |-- _sliders.scss
| | |-- _testimonials.scss
| | |-- style.scss
| |
| |-- index.html
|
|-- builds
|
|-- Documentation
|
|-- gulpfile.js
|-- package.json
`-- README.md
The root of app folder contains main html files which only combine HTM files from project/app/_sections folder.
This folder contains all the includable HTML sections. Name the global sections like header/footer with no prefix and specific page sections with that page prefix.
This folder contains all the images. Keep global images like logo in root, reusable images like patterns, elements in specific folder and specific type images like sliders in separate folder.
This folder contains custom js files.
This folder contains all the plugins. Make sure all the plugins are up-to-dated. Do not edit any of these plugin files. Customize js code/files only from project/app/js folder and css code/files from the project/app/scss folder.
This folder contains the main scss file in which imports all the partials, elements scss and all other page scss files.
This folder contains variables, mixins and media-query files and all these files have been imported in app/scss/style.scss file
This folder contains every separate elements own scss file.
This folder contains all the generated files form project/app folder. When gulp will run, files will be generated automatically.
This folder contains theme documentation template.
This is the gulp configuration file.
This is NPM package control file. All Node packages are listed as devDependencies in this file.