Brunch with Angular
This is an Angular ^2.4.5 application, built with Brunch. It uses TypeScript ^2.1.5
This version does not pin a specific version of Angular as it did in the past. All Angular 2 versions should be non-breaking.
Getting started
You will need Node.js installed. Recommend version 6.9.1 or later. Make sure you have at least version 4 and NPM 3.
If you plan to work with Brunch regularly, you may want to install it globally: npm install -g brunch
With Brunch installed globally you can simply run brunch new -s colinbate\ng2-brunch
to initialize a folder with this project.
Otherwise clone this repository, remove the .git
folder, and run npm install
.
Run
npm start
โ watches the project with continuous rebuild. This will also launch HTTP server with pushState.npm run build:prod
โ builds minified project for production
Learn
public/
dir is fully auto-generated and served by HTTP server.- Write your code in
app/
dir. - Place static files in
app/assets/
. These will be copied directly. - Brunch site, Getting started guide