All Projects → henrikhb → Bootstrap 4 Boilerplate

henrikhb / Bootstrap 4 Boilerplate

Licence: other
Bootstrap 4.3.1 boilerplate with Browsersync, Sass and Gulp.js

Projects that are alternatives of or similar to Bootstrap 4 Boilerplate

Bootstrap 4 Sass Gulp 4 Boilerplate
A Bootstrap 4.5.2 boilerplate with font-awesome, sass, gulp 4 tasks
Stars: ✭ 103 (-33.55%)
Mutual labels:  gulp, boilerplate, sass, bootstrap-4, browsersync
Fastshell
Fiercely quick front-end boilerplate and workflows, HTML5, Gulp, Sass
Stars: ✭ 563 (+263.23%)
Mutual labels:  gulp, boilerplate, sass, browsersync
Frontie Webpack
Front-end Boilerplate | Gulp 4 + Webpack 4 + Babel + ITCSS Architecture + BEM Methodology + Twig.js
Stars: ✭ 102 (-34.19%)
Mutual labels:  gulp, boilerplate, sass, browsersync
Gulp Tutorial
Code examples for my Gulp.js tutorial series
Stars: ✭ 383 (+147.1%)
Mutual labels:  gulp, sass, browsersync
bootstrap-4-boilerplate
Basic Bootstrap 4 Starter Template
Stars: ✭ 50 (-67.74%)
Mutual labels:  gulp, browsersync, bootstrap-4
Pixel Bootstrap Ui Kit
Pixel UI - Free and open source Bootstrap 5 UI Kit without jQuery
Stars: ✭ 406 (+161.94%)
Mutual labels:  gulp, sass, bootstrap-4
Magento2 Frontools
Set of front-end tools for Magento 2 based on Gulp.js
Stars: ✭ 416 (+168.39%)
Mutual labels:  gulp, sass, browsersync
Long Haul
A minimal, type-focused Jekyll theme.
Stars: ✭ 524 (+238.06%)
Mutual labels:  gulp, sass, browsersync
Sassy Starter
🎉 Sassy starter - HTML / SCSS (SMACSS)
Stars: ✭ 740 (+377.42%)
Mutual labels:  gulp, boilerplate, sass
Wordpress Starter
📦 A starter template for WordPress websites
Stars: ✭ 26 (-83.23%)
Mutual labels:  gulp, sass, browsersync
Gulp Boilerplate
A boilerplate for building web projects with Gulp.js.
Stars: ✭ 840 (+441.94%)
Mutual labels:  gulp, boilerplate, sass
Pug Sass Boilerplate Starter Kit
A Front-end template for building web apps or sites using Pug(Jade) and Sass
Stars: ✭ 92 (-40.65%)
Mutual labels:  gulp, boilerplate, sass
Kirby Webpack
💪 A Kirby CMS starter-kit with modern frontend tools
Stars: ✭ 150 (-3.23%)
Mutual labels:  boilerplate, sass, browsersync
Light Blue Dashboard
🔥 Free and open-source admin dashboard template built with Bootstrap
Stars: ✭ 110 (-29.03%)
Mutual labels:  boilerplate, sass
Portfolio one Page Template
Free responsive one page portfolio template
Stars: ✭ 106 (-31.61%)
Mutual labels:  gulp, sass
Static Site Boilerplate
A better workflow for building modern static websites.
Stars: ✭ 1,633 (+953.55%)
Mutual labels:  boilerplate, sass
Fast
Develop, build, deploy, redeploy, and teardown frontend projects fast.
Stars: ✭ 126 (-18.71%)
Mutual labels:  boilerplate, sass
Bootstrap 4 Utilities
Bootstrap 4 utility classes in LESS CSS for Bootstrap 3 or any other projects.
Stars: ✭ 105 (-32.26%)
Mutual labels:  sass, bootstrap-4
Frasco
Quick starter for Jekyll including full setup for Sass, PostCSS, Autoprefixer, stylelint, Webpack, ESLint, imagemin, Browsersync, etc.
Stars: ✭ 123 (-20.65%)
Mutual labels:  sass, browsersync
Baseguide
Lightweight and robust CSS framework for prototyping and production code.
Stars: ✭ 127 (-18.06%)
Mutual labels:  gulp, sass

Bootstrap 4 boilerplate

A Bootstrap v4.3.1 boiler plate with Sass, concatenation, minification, autoprefixer, Browsersync, hot reloading and sourcemaps all runned by Gulp.

bootstrap logo sass logo gulp logo browsersync logo

Quick Start

# 1 Clone this repo
git clone https://github.com/wapbamboogie/bootstrap-4-boilerplate.git

# 2 Navigate into the repo directory
cd bootstrap-4-boilerplate

# 3 Install all node packages
npm install

# 4 Get started
gulp serve - starts localhost server with browser-sync, watches HTML, Sass, JS with hot reloading
gulp - minify CSS/JS and builds your app into the dist directory, ready for production

Requirements

This project requires you have nodejs with npm installed. This project requires you have a global installation of gulp.

# Install gulp globally
npm install -g gulp

Gulp commands

gulp serve

The gulp serve command starts a local Browsersync server that serves your files in the browser. It reloads the current page when changing HTML, PHP, Sass and JS files. The output of all Sass files go to main.css All JS files are concatenated into main.js You can access the development server with other devices on the same network. Go to the "External" address specified by Browsersync (see the terminal) in the web browser of your device.

gulp serve

gulp (build)

The default gulp command is set to creating a "dist" directory with a production version of the project, ready to be deployed. It minifies and renames JS/CSS assets as well as cleaning the old "dist" directory. CSS is autoprefixed for the latest two browser versions.

gulp

gulp concatScripts

The gulp concatScripts command combines the specified JS resources into main.js You can add new JS files to this command on line 16 in gulpfile.js You might want to run concatScripts once separately after adding new JS files.

gulp concatScripts

Overwriting Bootstrap sass variables

You can overwrite specific bootstrap sass variables by uncommenting lines in assets/css/1-frameworks/bootstrap/bootstrap-user-variables.scss

PHP

If you need a server with PHP support you can use the project with MAMP Pro or similar.

  • Create a new host in the hosts panel of MAMP Pro and choose the project folder as the document root.
  • Enable Symlinks settings in the "Extended" tab of the host configuration.
  • On line 82 in gulpfile.js change the browserSync.init function to the following:
browserSync.init({
    proxy: "http://name-of-your-mamp-host:8888",
    open: "external"
});
  • Start the MAMP services and run "gulp serve" as before.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].