angular / mobile-toolkit

Tools for building progressive web apps with Angular
MIT License
1.34k stars 175 forks source link

CLI does not provide --mobile option anymore #170

Closed m98 closed 7 years ago

m98 commented 7 years ago

Since the --mobile option is removed (https://github.com/angular/angular-cli/pull/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 commented 7 years ago

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

m98 commented 7 years ago

@kevinSuttle Yes, why not.

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

Splaktar commented 7 years ago

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

kevinSuttle commented 7 years ago

@Splaktar That's a shame.

mgechev commented 7 years ago

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

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

webmaxru commented 7 years ago

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

Sangeethaself commented 6 years ago

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