HTML5 Boilerplate is a frontend template include HTML, CSS, JS for building fast sites.
Open your preferred command line tool and run follow some steps below:
git clone https://github.com/txsang/html-boilerplate.git
.cd html-boilerplate
.npm install
automatically to install plugins required for the build script based inpackage.json
file.npm run dev
to preview and development, then run urlhttp://localhost:9000
in your browser.npm run prod
to preview final version, then run urlhttp://localhost:9090
in your browser.npm run build
to 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+