62

Bootstrap 4 boilerplate with sass and gulp 4

 5 years ago
source link: https://www.tuicool.com/articles/hit/RR3MfuI
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Bootstrap 4 boilerplate with sass and gulp 4

A Bootstrap 4.1.3 boilerplate with font-awesome, sass, gulp 4 tasks, browserSync (with hot-reloading). You can override bootstrap sass variables by placing those variables in bootstrap-4-sass-gulp-4-boilerplate/assets/scss/_bootstrap_variable_overrides.scss

Pre-requisite

Install Gulp Globally

$ npm -g install gulp

Getting started

  1. Clone repository: git clone https://github.com/JayeshLab/bootstrap-4-sass-gulp-4-boilerplate.git

  2. Change directory: cd bootstrap-4-sass-gulp-4-boilerplate

  3. Install all dependencies and libraries: npm install

  4. Run Gulp Task:

  • gulp - To compile scss to css, minify css and js and build ready for production files in dist folder.

  • gulp dev - Starts a local server with browserSync and hot reloading on changes to files (HTML, SCSS, JS).


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK