Skip to content

Latest commit

 

History

History
50 lines (43 loc) · 1.18 KB

File metadata and controls

50 lines (43 loc) · 1.18 KB

Component-based AngularJS v1 client

Component-based AngularJS v1 client app based on AngularJS-Boilerplate

Features

  • SASS support including sourceMaps
  • Gulp tasks for watching SCSS, JS and HTML files
  • production Gulp build task
  • clear folder structure
  • queryService $http wrapper to handle REST API requests
  • localStorage service
  • google analytics snippet

1. Setup

npm install

2. Watch files

gulp
  • all SCSS/HTML/JS will be watched for changes and lint errors with browser reloading

3. Build production version

gulp build
  • build task includes:
  • clean _build folder
  • compile and minify SASS files
  • copy and optimize images
  • minify and copy all HTML files into $templateCache
  • build index.html with useming package
  • copy assets

4. Start webserver without watch task

gulp server

5. Start webserver from build folder

gulp server-build

Copyright (C) 2017 Jozef Butko
www.jozefbutko.com
www.github.com/jbutko
@jozefbutko
Released under MIT license