Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add demo application parallel to lib #9

Open
shlomiassaf opened this issue Oct 1, 2016 · 3 comments
Open

Add demo application parallel to lib #9

shlomiassaf opened this issue Oct 1, 2016 · 3 comments

Comments

@shlomiassaf
Copy link

shlomiassaf commented Oct 1, 2016

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:

  • Speeds up developments in a large factor
  • Easy debugging
  • Provides examples to end user
  • A github.io site for presentation (script to upload can be easily integrated)

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
Copy link
Collaborator

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
Copy link
Author

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

@NathanWalker
Copy link
Collaborator

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants