angular-cli icon indicating copy to clipboard operation
angular-cli copied to clipboard

mobile support ?

Open johnqiuwan opened this issue 9 years ago • 4 comments

Hi All,

When does the mobile flag will be supported ? I really want to make the app PWA (progressive web app) way : )

johnqiuwan avatar Dec 04 '16 02:12 johnqiuwan

Hi, i have created a seed that has some PWA features with this CLI at https://github.com/jvitor83/angular-seed-cli-admin

To achieve the PWA i use

  • the https://github.com/GoogleChrome/sw-precache for offline

    using the config file at https://github.com/jvitor83/angular-seed-cli-admin/blob/master/sw-precache-config.js and the command at https://github.com/jvitor83/angular-seed-cli-admin/blob/master/package.json#L12

  • and have created the manifest.json to achieve splashscreen

    https://github.com/jvitor83/angular-seed-cli-admin/blob/master/src/scripts/manifest.json

jvitor83 avatar Dec 04 '16 02:12 jvitor83

Hi John, I don't think the mobile flag is supported anymore. it ay be a point of contention, not sure. it's most like deprecated. I would think that this decision was fairly easy to arrive at, since if you are doing Angular2 right, and use the material2, your work will work in all modern browsers, and not so modern browser, regardless of your client's OS or platform or whatever the correct buzz word is currently.

Taco-Gestapo avatar Dec 04 '16 23:12 Taco-Gestapo

IT's not. We're working on an example of a working mobile app using the CLI, but it won't be as simple as passing a flag anymore. That functionality will come back when we support addons and custom templates.

hansl avatar Dec 06 '16 01:12 hansl

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.