This is a front-end boilerplate for Digital Score projects that currently uses Pug and Semantic UI
Made for Digital Score http://www.digitalscore.lv
Version 1.0.0, - initial commit
This project uses:
- Node & Node packagage manager: for handling development dependancies
- Bower: package management for front-end dependencies
- Grunt, Gulp: JavaScript task runner for automating building process (Grunt not in use)
- BrowserSync: used for synchronized browser testing
- Sass, Less: used for CSS preprocessing (Sass is not in use)
- PostCSS: used for CSS postprocessing - minification & auto prefixing (included in Semantic UI by default)
- Pug (formerly Jade): HTML templating
- Foundation, Semantic UI: front-end framework (Foundation not in use)
- BxSlider, slick slider: content slider (BxSlider not in use)
- Icomoon: for icon fonts
From project directory, run:
npm install
Directory node_modules will be created
From project directory, run:
bower install
Directory bower_components will be created
gulp build
This will:
{0}. [x] Compile Pug files to HTML (in views/ directory) {0}. [x] Build Semantic UI (in dist directory) {0}. [ ] Run PostCSS tasks (nanocss & autoprefixer) on style.css and build style.min.css {0}. [ ] Minify files in images/ directory
Setup local server with site.dev as localhost and run:
gulp watch-sync
This will create a BrowserSync enabled watcher on http://site.dev:3000/views and all changes made to .less or .pug files will be automatically built and appear in the browser without the need to manually refresh.
It is also possible to run the watch task without BrowserSync:
gulp watch
- Cleanup README.md
- Separate instructions for Foundation workflow with Grunt & PostCSS
- Development of u[:a]i Semantic UI theme
- Add .pug gulp tasks
1.0.0
- Initial commit of u[:a]i, some cleanup & added Readme