Giter Site home page Giter Site logo

yilber / bootstrap4-boilerplate Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 0.0 73 KB

Front end boilerplate based on Bootstrap 4 and Sass. The javascript files for Bootstrap are compiled with Gulp, babel and rollup.

License: MIT License

JavaScript 47.04% CSS 5.63% HTML 29.82% PHP 2.57% Hack 14.94%
gulp sass bootstrap bootstrap-4 boilerplate front-end-development frontend es6 javascript es2015

bootstrap4-boilerplate's Introduction

Bootstrap 4 boilerplate with Sass.

Latest Version npm version devDependency Status

Prerequisites

You will need the following installed on your computer.

Installation

Clone this repo to your computer and run npm install to install all the dependencies.

git clone https://github.com/Yilber/bootstrap4-boilerplate.git
cd boilerplate

install gulp, rollup, @babel/core, @babel/cli and cross-env globally

npm install -g gulp@^3.9.1 rollup@^0.57.1 @babel/[email protected] @babel/[email protected] cross-env@^5.1.3

install the all the packages

npm install

How to start the server

Starting the server will compile everything. Here's how to do it.

gulp watch

Scaffolding

├── src
│   ├── data
│   ├── fonts
│   ├── images
│   ├── js
│   │   ├── vendor
│   │   ├── main.js
│   │   └── plugin.js
│   └── scss
│       ├── theme
│       ├── bootstrap.scss
│       └── style.scss
├── dist
│   ├── css
│   │   ├── fonts
│   │   └── style.min.css
│   ├── data
│   ├── images
│   ├── js
│   │   ├── bootstrap.bundle.js
│   │   ├── bootstrap.bundle.js.map
│   │   ├── bootstrap.bundle.min.js
│   │   ├── jquery.min.js
│   │   └── main.min.js
│   ├── templates
│   │   ├── footer.php
│   │   └── header.php
│   ├── .htaccess
│   ├── 404.html
│   ├── 404.php
│   ├── index.html
│   └── index.php
├── docs
│   └── README.md
├── .babelrc.js
├── .editorconfig
├── .eslintrc
├── .gitignore
├── config.js
├── gulpfile.js
├── LICENSE
├── package.json
├── README.md
├── rollup.config.js
└── server.js

Todo

List of things to fix or add

  • Improve README.md: add documentation, images etc...
  • Add CSS linting
  • Add testing: Mocha?
  • Browser support: Modernizr
  • Add an engine template:Nunjucks, Handlebars, Pug(Jade) or another one

Bugs

If you have questions, feature requests or a bug you want to report, please click here to file an issue.

License

Copyright (c) 2018 Yilber Mejia.

Usage is provided under the MIT License. See LICENSE for the full details.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.