HTML5 + Scss + Gulp Boilerplate
Simplest and powerful boilerplate to create your projects. Just install and run.
This is the deep refactoring of Jagath Jayakumar repo. You'll find changelog below.
1. Installation
Clone repository to your project folder:
git clone git@github.com:toxuh/html-scss-boilerplate.git .
Then install packages:
npm i // Node
yarn // Yarn
2. Usage
To run project in development mode, run:
npm run start // Node
yarn start // Yarn
Code will be served on 3000 port. It has autoreload, so no more F5 spam.
To build the project, run:
npm run build // Node
yarn build // Yarn
3. Details
Boilerplate supports scss and html partials. Latest version of jQuery and free set of font awesome are also connected.
Partials is a repeated code parts, that you can include to your pages without repetition. Use them for really often repeated parts for best performance.
In development mode, your code is builds in /public directory and server on port 3000. In production mode all code will be minified and collected to /build directory.
4. Changelog
- Project is now supports ES6 (module).
- All libraries are up-to-date.
- Removed bootstrap (bootstrap 5 will be added later).
- Fontawesome included like js script.
- Scripts are now in partial.
- Project build is now in different folder (/build) and all minifiers works correct.
- Added editor config for some codestyle.