This starter project brings together the Sass from Bootstrap 4 and Panini HTML templates. Panini is a simple, intuitive flat file generator for Gulp that was designed specifically for rapid prototyping.
The simplicity and speed of Panini makes it easy to isolate front-end design (CSS, JS, and HTML patterns) from other aspects of your project, and Panini still allows for HTML partials, external Handlebars helpers, and data from JSON or YAML sources when more complexity is needed.
In order to use this project, your computer needs:
Get started by downloading the project with Git:
git clone https://github.com/gluethegiant/bootstrap4-prototyping-glue projectname
Then open the folder in your command line and install the Node dependencies:
cd projectname
npm install
Start the project with npm start
. Then edit the files in your html/, sass/, and js/ folders. The Sass and HTML files will be compiled in the background as you save changes. To create minified CSS and JS for production on a live website, use npm run build
.
npm start
npm run build
Several configuration options can be found and edited in the config/config.yml file.
Holder.js is included by default to display placeholder images. If you want to add your own assets, e.g. images and fonts, don't add them directly to the dist/ folder. They will be deleted each time the project is refreshed. Instead, place assets inside an assets/ folder at the root of your project. As an example, anything placed in assets/img/ will be copied to dist/img/.
Forked from bassjobsen's empty-bootstrap-project-gulp, showing that Zurb's Panini is not just for Foundation. The great Panini, and the initial Panini starter projects, were made by Zurb.
Released under the MIT License.