0

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 --

  1. What are the pros and cons if I use SystemJS over Angular CLI ?
  2. Is CLI the recommended way by Angular (I have not read it anywhere honestly)?

Any help would be appreciated. Thanks

2
  • 2
    systemjs is a module loader. angular cli is a command line interface for angular. You are comparing apples to oranges. CLI the recommended way by Angular <= I do not believe it is. Commented Oct 25, 2017 at 14:44
  • I do not believe it is ^--- although you can find it on the same angular.io site domain and github repo so maybe it is. I am not sure why it would matter though (if it is recommended or not stated). Commented Oct 25, 2017 at 14:51

2 Answers 2

2
  1. 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?

  2. 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.

Sign up to request clarification or add additional context in comments.

Comments

0

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

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.