Skip to content

armn/uai

Repository files navigation

u[:a]i (armn's user interface boilerplate)

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


Development stack

This project uses:


Installation guide

Install Node & Node package manager

Install Node modules

From project directory, run:

npm install

Directory node_modules will be created

Install Bower components (only if bower is in use)

From project directory, run:

bower install

Directory bower_components will be created

Run Gulp (Semantic UI) or Grunt (Foundation)

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

Development workflow

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

@todo

  • Cleanup README.md
  • Separate instructions for Foundation workflow with Grunt & PostCSS
  • Development of u[:a]i Semantic UI theme
  • Add .pug gulp tasks

Changelog

1.0.0

  • Initial commit of u[:a]i, some cleanup & added Readme

Releases

No releases published

Packages

No packages published