angular - How to start angular4 project? -
i working angular2 project, have requirement create angular4 project. question is
- from angular4 project?
- should have different angular4 project? if not how identify angular 4 project?
- should have use @angular/cli angular 4 project?
- 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
Post a Comment