This angular seed is a part of the Clutch Framework family. It can be used as a standalone angular boilerplate, or can be used as a part of a larger Clutch full-stack app.
As an angular seed, it takes a modular approach to structuring your app. It encourages folders to be used to keep components of your app organized in a way that makes them easy to move between other apps.
It utilizes RequireJS and the Angular-UI project, UI-Router, to help achieve this modular approach.
-
Clone this repo down into your project folder
-
Install dependencies
$ npm install && bower install
-
If you will be using the SASS capabilities built into this seed, you will need to install the Compass gem
$ gem install compass
This seed comes with a wide array of ready to go Grunt tasks to automate your build and dev process
This task will run a full suite of build tasks including compiling all JS to a single optimized file, compiling all SASS, and for release builds, optimizing both JS (with source map) and CSS into minified packages.
This built package will default to a build
directory. This output directory can be changed by altering the 'buildDir' property of the package.json
file.
This task will watch various folders and build the changed files.
This task does a few things
- Builds the app into the build directory (in dev mode)
- Starts a simple HTTP server accessible at
http://localhost:9001
- Starts the
watch
task