Re: [AngularJS] Re: switching from System JS to angular CLI

2017-07-06 Thread 'Lucas Lacroix' via Angular and AngularJS discussion
Put "ng server" in the "start" command of your package.json. On Thu, Jul 6, 2017 at 11:07 AM Reza Razavipour wrote: > Understood > > I am looking for a non ng command, similar to npm start or npm run lite or > some such tool > > > > On Thursday, July 6, 2017 at

Re: [AngularJS] Re: switching from System JS to angular CLI

2017-07-06 Thread Reza Razavipour
Understood I am looking for a non ng command, similar to npm start or npm run lite or some such tool On Thursday, July 6, 2017 at 5:00:00 AM UTC-7, Lucas Lacroix wrote: > > You can use the CLI to start a local server which will automatically > recompile and reload the page when the source

Re: [AngularJS] Re: switching from System JS to angular CLI

2017-07-06 Thread 'Lucas Lacroix' via Angular and AngularJS discussion
You can use the CLI to start a local server which will automatically recompile and reload the page when the source changes. Just run: "ng serve". On Wed, Jul 5, 2017 at 9:47 PM Reza Razavipour wrote: > and just to test everything, is there a way - a command line tool

[AngularJS] Re: switching from System JS to angular CLI

2017-07-05 Thread Reza Razavipour
and just to test everything, is there a way - a command line tool I can use? Not webpack but to test the files in the dist and load them directly, something like npm run lite or something similar... On Wednesday, July 5, 2017 at 4:56:13 PM UTC-7, Reza Razavipour wrote: > > and all the

[AngularJS] Re: switching from System JS to angular CLI

2017-07-05 Thread Reza Razavipour
and all the module dependencies will also be included in the what ends up in the dist folder? On Saturday, July 1, 2017 at 2:26:18 AM UTC-7, Sander Elias wrote: > > Hi Reza, > > With the cli you do a production build, that builds a dist folder. Add > those files to your jar, and you should be

[AngularJS] Re: switching from System JS to angular CLI

2017-07-01 Thread Sander Elias
Hi Reza, With the cli you do a production build, that builds a dist folder. Add those files to your jar, and you should be good. Regards Sander -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this