Skip to content
This repository was archived by the owner on Oct 12, 2021. It is now read-only.

CLI does not provide --mobile option anymore #170

Closed
m98 opened this issue Jun 20, 2017 · 7 comments
Closed

CLI does not provide --mobile option anymore #170

m98 opened this issue Jun 20, 2017 · 7 comments

Comments

@m98
Copy link

m98 commented Jun 20, 2017

Since the --mobile option is removed (angular/angular-cli#4143), we need to update the documentation on https://mobile.angular.io/guides/cli-setup.html which uses --mobile to teach something about the web manifest.

Now when you use ng new something --mobile, you will get a warning message which says:

The option '--mobile' is not registered with the new command. Run ng new --help for a list of supported options.

@kevinSuttle
Copy link

Furthermore, we need a way to generate progressive Angular apps.

@m98
Copy link
Author

m98 commented Jun 24, 2017

@kevinSuttle Yes, why not.

I don't know if this repository is active or not! No comment from maintinars

@Splaktar
Copy link
Contributor

No, unfortunately this repo is not actively maintained and issues and PRs are mostly not being addressed.

@kevinSuttle
Copy link

@Splaktar That's a shame.

@mgechev
Copy link
Member

mgechev commented Jul 10, 2017

The Angular service worker will be moved to https://github.com/angular/angular (see angular/angular#17276).

At this point the --mobile flag is not enabled, however, support in the CLI exists use: ng set app.0.serviceWorker=true.

@mgechev mgechev closed this as completed Jul 10, 2017
@webmaxru
Copy link
Member

@m98 @kevinSuttle you will find all the latest Angular Service Worker info here: https://bit.ly/pwa-angularsummit-2017

@Sangeethaself
Copy link

is there any updation of --mobile flag added in angular/cli?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants