-
Notifications
You must be signed in to change notification settings - Fork 175
--mobile flag #108
Comments
+1 |
As a temporary workaround @maytis, I have found that |
Don't try ng init --mobile |
@friedger that issue appears to be fixed and closed. Have not test it. |
@michaeljota The resolution of the issue was that an error is thrown if you use the --mobile flag with init |
@friedger Oh! Thanks... |
still not enabled although the cause was fixed(universal uses 2.0.0 now) |
@agalazis Moreover, universal supports aot compilation since it's 2.1.0-rc.1 release. The |
its broken due to the fact universal is being added with modules. |
without --mobile does angular worth to learn? |
Checked on this mobile stuff like a year ago and it had a great bug (something to do with universal) that produced blank templates or a template with the word "null" in it. A year later and now its just disabled, effectively disabling this entire project?!? Ng eco-system feels like an endless chore of beta-never-gets-released-ware. I know, i know, its open source free ware but shit, i'm going to whinge anyway :P |
CLI and |
here's a repo with module packages https://github.com/webmaxru/pwa-guide-ngpoland/tree/step-dashboard |
i've just started a PWA with angular2. In the https://angular.io/ there is a big invitation to try @angular/material. https://material.angular.io/guide/getting-started instructs to use angular-cli but https://github.com/angular/angular-cli has disabled --mobile. Also https://mobile.angular.io/ indicates to use angular-cli. The previous link is a nice demo done by @gdi2290 (thanks) but as it is not using the tools suggested by the official documentation, using it as a starting point seems risky. Where are we going to get support from ? mobile-toolkit seems very quiet (https://github.com/angular/mobile-toolkit/pulse/monthly) and angular-cli position about --mobile is not clear angular/angular-cli#2228 So starting today a new PWA using angular2 seems very painful as there is not official working documentation on how to do it. Should we hold before using angular2 for PWA ? |
@alxhub It would be nice to remove any mention of the cli and |
I'm still wondering if we should wait on creating pwa with Angular? |
@Charlkie14 Definitively, build PWAs with Angular, this should not depend on the tools! |
Yes your right @friedger. :) I'm trying it out now. |
@Charlkie14 I'm using angular for PWA. Check out ionic2. |
@Charlkie14 ionic2 is similar to PWAs, but it's not the same. Ionic is building an app for the smartphones, PWAs don't need to be packed up to work on different mobile platforms. |
@cre8. Actually I'm building a PWA with Ionic2. Pure PWA with service woker without Phonegap. In us part of ionic2 out of the box. |
@sebastianovide very good to know. Can ionic2 do AoT now? |
I believe we can close this issue. Here's the PR by @alxhub angular/angular-cli@cb2e418 to the CLI. |
I'm using the angular-cli: 1.0.0-beta.16. Mobile flag is still disabled. When can we expect the support for mobile flag.
The text was updated successfully, but these errors were encountered: