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

How to add Third party(3rd) library #59

Closed
mshahin364 opened this issue May 2, 2016 · 7 comments
Closed

How to add Third party(3rd) library #59

mshahin364 opened this issue May 2, 2016 · 7 comments

Comments

@mshahin364
Copy link

Could you describe how to add 3rd party library like jquery,bootstrap into the project?

@vincentpalita
Copy link
Contributor

@NathanWalker
Copy link
Owner

Thanks @vincentpalita , indeed since this seed mirrors it's parent, the process is exactly the same 👍

@mshahin364
Copy link
Author

Thanks @vincentpalita, It's helped me.

@vincentpalita
Copy link
Contributor

@mshahin364: Glad it helped you!

@friksa
Copy link

friksa commented May 25, 2016

I followed the steps at https://github.com/mgechev/angular2-seed/wiki/Add-external-scripts-and-styles for jquery. Did a npm --save install jquery and I can see it installed under node_modules.

The issue is that list/dev/node_modules does not have a copy of jquery. I even tried npm run build.dev

What else do I need to configure to get jquery into the distribution?

Thanks for a great project!!

@vincentpalita
Copy link
Contributor

@friksa : did you add the dependency in the project.config.ts file as mentioned?

The dist/dev should never contain any node_modules. SystemJS will do the linkings for you in development mode, then when building it will package the files for you from the node_modules folder.

@friksa
Copy link

friksa commented May 27, 2016

Was not sure if someone looked at closed issues, so I created a new one for this. Thanks!

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

4 participants