A minimal Angular2 demo site using:
- NPM Build
You can see the a running demo here.
NOTE: THIS PROJECT HAS NOT BEEN UPDATED TO NG2 RC5+, THERE ARE SOME MAJOR CHANGES BETWEEN THE VERSION THIS PROJECT USES AND THAT RELEASE. I DO PLAN TO UPDATE TIME PERMITTING.
||clean dist directory|
||clean, ts & sass build|
||clean/watch ts & sass|
||build, watch, browsersync|
Below outlines a tree of how the components are arranged in the Angular2 component tree.
The folder structure is aimed to encapsulate components into their own modules. In each component folder, it contains all the html, css, js for that component. Components that are not coupled to this application are grouped into a common folder for reuse.
└── src ├── app -- root component │ ├── header -- header component │ └── rsvp -- rsvp component └── common -- root utilities and components that are reusable ├── parallax -- parallax component └── utils -- misc utilities
The demonstration was a project to learn Angular2 while teaching my beautiful fiancée how to code our wedding website; I hope you enjoy! The project was presented at SFL Code Conference, for slides click here.