Open your preferred command line tool and run follow some steps below:
git clone https://github.com/ninhva/html-boilerplate.git.cd html-boilerplate.npm installautomatically to install plugins required for the build script based inpackage.jsonfile.npm run devto preview and development, then run urlhttp://localhost:9000in your browser.npm run prodto preview final version, then run urlhttp://localhost:9090in your browser.npm run buildto build final version.
- You can separate the elements (header, footer, banner, aside...) to be reused many times without trouble.
- Prettify HTML code.
- Using SASS library.
- Minify JS and CSS files.
- Minify images (jpg, png, svg...) seamlessly.
html-boilerplate/
├── src/
│ ├── fonts
│ ├── images
│ ├── scripts
│ ├── styles
│ └── views/
│ ├── layouts
│ ├── pages
│ └── partials
└── gulpfile.js
- Chrome (latest)
- Safari (latest)
- Firefox (latest)
- Edge (latest)
- Opera (latest)
- Internet Explorer 10+