-
Notifications
You must be signed in to change notification settings - Fork 12k
Adding 3rd party libs #274
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
Comments
Hi. We do currently not have a command for adding 3rd party lib, but it is coming soon.
|
@jkuri , should I install typings from the src folder or from the root directory? should I also change the tsconfig.json file? |
Install typings from the root dir and you don't need to change any configuration. If any problem persist just say so. |
@vlio20 did you managed to solve this? |
FYI, looks like this question was also cross-posted to stack overflow |
No answer on the stack overflow does seem to be correct. I think we can close this issue Mike. |
For some reason I can't make typescript stop throwing errors regarding the moment module. And as you can see in the scaffolding there is a typings lib for moment.
@jkuri , as you can see I was not able to solve it. Any suggestions? |
Yes, you didn't installed typings correctly. You need to install both |
isn't it only typings install moment? |
Please follow the steps I provided and you will notice a link to yesterdays issue. |
@jkuri, I have followed the instructions on the link you have provided and here is my typings.json:
still the same error:
I have restarted the server. |
Check if |
its included like so: |
Okay, let me check it... |
Looks like you created this app a while ago. Install the new |
The other solution would be to install the new |
I will try and update this thread |
yep, it is working thanks @jkuri.
|
Great! Not yet, next week. On Friday, 4 March 2016, Vlad Ioffe [email protected] wrote:
|
Hi Jan, I have added the moment.js to the systems config like this:
Which is the preferred approach? |
Hi @kovax you added it correctly. You can also include it via script tag in html, but I also use same approach as you. |
@jkuri, I want to add |
Hi. And if I want add manually script? how I need do? @jkuri |
Heya @imtiaz-emu @felipel90 , you can find updated instructions in #1015 |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Hi,
I am trying to add moment (3rd party lib) to my project and could not find any mentioning on how to add 3rd party libs to the project which is generated via the cli.
I have asked the following question on SO:
http://stackoverflow.com/questions/35796961/angular-2-3rd-party-libs
Help will be much appreciated.
The text was updated successfully, but these errors were encountered: