You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report
[ ] Performance issue
[x] Feature request
[ ] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question
[x] Other... Please describe: Build improvements
Current behavior
In total, to run the first application, and the usual demo, I need to spend 6 minutes until it installs all the packages. This is sometimes very annoying.
$ ng new demo
349.36 sec ~ 6 min
Project 'demo' successfully created
And all, you can write to start the application or if you usage vue init it's best start config cli
Expected behavior
$ ng new project
? default install all dependencies (Y/n) n
# ========================
? Install @angular/router? (Y/n) n
? Use TSLint to lint your code? (Y/n) n
? Set up unit tests Karma (Y/n) n
? Setup e2e tests with Protractor? (Y/n) n
# Project initialization finished!
# ========================
To get started:
ng serve
Documentation can be found at https://angular.io/guide/quickstart
If you make a customizable way to install the application, you could create simple applications faster.
Activity
Toxicable commentedon Apr 19, 2018
https://github.com/angular/angular-cli
Already does this.
just replace the Q and A interface with CLI flags
splincode commentedon Apr 19, 2018
@Toxicable why am I not aware of this? and where examples in the official quickstart documentation
trotyl commentedon Apr 19, 2018
You can already use whatever schematics in
ng newcommand.splincode commentedon Apr 19, 2018
@trotyl Where are the documentation and examples?)
ng-cli@1.7 ? or ng-cli@6 ?
Toxicable commentedon Apr 19, 2018
https://github.com/angular/angular-cli/wiki/new
trotyl commentedon Apr 19, 2018
The feature was added in CLI 1.4.0: https://github.com/angular/angular-cli/releases/tag/v1.4.0-beta.1
Seems the doc is indeed outdated, PR found in angular/angular-cli#9170
splincode commentedon Apr 19, 2018
This is not exactly what I would like to have by default
You are talking about schemes
trotyl commentedon Apr 19, 2018
The default schematics used will obviously follow the best practices, which is the current behavior.
vicb commentedon Apr 20, 2018
This is handled by the CLI.
angular-automatic-lock-bot commentedon Sep 13, 2019
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.