preboot / angular-library-seed

Get started building an Angular library quickly.
MIT License
111 stars 22 forks source link

Add demo application parallel to lib #9

Open shlomiassaf opened 8 years ago

shlomiassaf commented 8 years ago

While developing a library it is always helpful to use an application that consumes that library within the same project.

The most obvious reasons are:

Suggested Structure:

src
---lib
---demo-app

Webpack is used for development and for bundling the output for the github.io site. Rollup is used for NPM package creation.

NathanWalker commented 8 years ago

demo app exists here: https://github.com/preboot/angular2-library-seed/tree/master/src But I assume you are going for a completely separated demo app which would consume the npm lib and module.

shlomiassaf commented 8 years ago

Yep, see my repo https://github.com/shlomiassaf/angular2-modal/tree/master/src , disregard naming...

NathanWalker commented 7 years ago

@shlomiassaf a PR sometime would be appreciated; the seed setup at the moment just mirrors https://github.com/preboot/angular2-webpack right now for ease of use and updating.