NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Loading Anguar2 tutorial code

 
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users
View previous topic :: View next topic  
Author Message
jnmills



Joined: 26 Dec 2012
Posts: 12

PostPosted: Fri Apr 07, 2017 6:37 am    Post subject: Loading Anguar2 tutorial code Reply with quote

I've been using NetBeans for a while (8.2) for PHP/Javascript work, but
recently wanted to start using Angular2.

I set up the 2016-01-angular2-simple from the blog ok, and it runs, with
typescript and npm doing their bit. So the basic NetBeans setup must be
correct.

I experienced some problems and decided to set up the "test of Heroes"
tutorial from
https://angular.io/docs/ts/latest/tutorial/toh-pt1.html which makes
available a code zip at
https://angular.io/resources/zips/toh-1/toh-1.zip

I seem, however, not to be doing this correctly. I'm wanting it to put
the code under the NetBeansProjects/toh-1 folder
and then (presumable) use npm install to load in the Angular libraries
so it can run.

What is the simplest way of doing this? the methods I have tried so far
result in either npm install doing nothing, or the files being in
Downloads rather than NetBeansProjects.

[I tried New Project>HTML5/JS with existingsources>Project folder etc ..
this seems to leave the files in DownLoads
I tried without existing sources and copying the files over, but that I
can't get working ...

... there must be an easy straight forward way for this surely? I
probably just need some high level pointers to the main steps, please]

Thanks
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo