Sgit remote add origin https://github.com/trile/bootstrap-sass-starter.gituper quick start for development (updated with source from Bootstrap 4.0.0-alpha.6)
-
Clone the repository and run
npm installoryarn install. -
run
grunt server+ turn on live-reload on your browsers. -
Start your development at
app/ejs/index.ejsandapp/scss/main.scss
- Include ejs template for reusable components.
- Watch and Live-reload for convenient development.
- Easy include or exclude bootstrap sources in your code
grunt clean: clean up the copied and generated codes.
grunt setup-sass: copy bootstrap source and font-awesome over to scss folder.
grunt setup-external-bootstrap: copy only bootstrap distribution files (css and js). Remember to include bootstrap.min.css it in your HTML files.
grunt dist: generate distribution files.
- If you dont want to use ejs, you can directly edit the result html file, remember to delete the ejs so it does not override your work.
- If you choose to load bootstrap as an external source file, remove it in your main.sass so it does not get duplicated.
- If you have theme, drop it in
scssfolder and include it in main.scss