angular - How to start angular4 project? -


i working angular2 project, have requirement create angular4 project. question is

  1. from angular4 project?
  2. should have different angular4 project? if not how identify angular 4 project?
  3. should have use @angular/cli angular 4 project?
  4. is there different setup package.json angular4?

one of collegue said using cli commands means using angular4, true?

thank you

there no such thing "angular 2" or "angular 4", naming convention it's angular.

what looking version number of angular packages. (angular uses semantic versioning reflect changes version number, see semver).

for new angular project use latest @angular/cli, automatically installs latest version of angular compatible cli version , sets requirements build/bundling process. (recommended beginners)*

if don't want use cli, can out angular starter repositories/seeds or create own project scratch.

if want create own project scratch tutorial how setup webpack angular (version ^4.0.0).

if have angular project using version ~2.x.x, can update dependencies , migrate code. or if used cli before, follow migration guide here.

* can later eject webpack config more complex stuff in build process on own


Comments

Popular posts from this blog

networking - Vagrant-provisioned VirtualBox VM is not reachable from Ubuntu host -

c# - ASP.NET Core - There is already an object named 'AspNetRoles' in the database -

ruby on rails - ArgumentError: Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true -