Reputation: 1109
I am working on an Angular 4.X project and using the SystemJS approach. When I started the project, Angular CLI was in beta version so I used the SyatemJS approach to setup the project. Can anyone here tell me --
Any help would be appreciated. Thanks
Upvotes: 0
Views: 2843
Reputation: 396
To answer your 2 questions, just take a look at the tutorial "QuickStart" of the official angular site : Angular QuickStart But you can do with your own Webpack config while respecting the Style Guide for easier to maintain. Angular - Webpack: An Introduction
Upvotes: 0
Reputation: 5417
What are the pros and cons if I use SystemJS over Angular CLI ?
You are comparing apples to oranges. Angular CLI is a tool that helps setting your project up. Though you could make an argument that the cli uses webpack so perhaps you could look up comparisons between webpack and systemjs?
Is CLI the recommended way by Angular (I have not read it anywhere honestly)?
Yes, even their own tutorials on angular.io strongly recommend the use of the cli.
Upvotes: 2