Skip to content

krcourville/js-app-starter

Repository files navigation

Angular 1 App Starter

A starter Angular1 HTML5 client app

Features

  • Ng Annotate
  • Dev workflow: live reload, watch, serve
  • Copy resources (fonts/images)
  • Less
  • Ng Template Cache

Setup

  • install Node JS (if not already installed)
  • clone or copy this repo locally
  • from a console in the local folder, run these commands
  • npm install gulp-cli -g (if not already installed)
  • npm install bower -g (if not already installed)
  • npm install
  • bower install

Usage

  • gulp help : show task outline and general help
  • gulp serve : start development workflow

Angular Conventions

  • Templates are rooted to /src/app folder. As a result, specifying templateUrl for app/src/app/dash/dash.html is shortened to dash/dash.html
  • Styles can be specified in global app less or individual component less files.
  • Third party files should be included via bower or other method and added to gulpfile.config.js vendor files.
  • Third party syles should be included via @import statements in app.less
  • Add copy source/destinations to gulpfile.config.js for any images or other binaries.

About

A starter HTML5 client using gulp and livereload

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published