Skip to content

Angular-cli is --mobile still an option? #5791

Closed

Description

@MatteoNY

Re: documentation for mobile-toolkit:
https://github.com/angular/mobile-toolkit/blob/master/guides/cli-setup.md

It references: (Note: this recipe is based on version 1.0.0-beta.4 of Angular CLI.)
Not generating "Web Application Manifest" file.

I've noticed that some of Angular-cli apps were getting 404 errors from the Service Worker from non --mobile generated versions. Not sure if there is some flag set in the angular-cli.json file that I've been using after converting prior angular-cli projects.

I'd like to use the Angular PWA and it would be nice to have updated documentation on how to use it.

Thanks,
Matt

Activity

  1. beeman commented on Apr 2, 2017

    @beeman
    Contributor

    @MatteoNY the --mobile option is removed some time ago: #4143

  2. MatteoNY commented on Apr 3, 2017

    @MatteoNY
    Author

    @beeman Thanks for your quick response. I'll be watching ng-conf for updates on PWA's. If anything the Angular-cli tool should put out a message, for example, opps! you picked a command that is in the process of being updated or no longer supported. The Angular-cli put out a message when the router option was removed. Before Angular-cli's release 1.0 the --mobile option did prepare the manifest and service-worker code, it was buggy but there. The Angular-cli change log did not mention anything about pulling the plug on the PWA --mobile option. I understand options that are experimental but to the loyal followers of Angular-cli it would be great to communications thru the change log. It looked like the --mobile options was lagging or out of date. I was noticing 404 errors in the console from service-worker without the --mobile option. It makes good sense to pull the --mobile option of it's not ready for production.

    By the way the Angular-cli team is doing a great job, I've been using the Angular-ci since it was introduced, it's great when it works. Based on YouTube videos it appears that Yarn is faster and consistent with it's yarn.lock file then NPM. It would be nice to know if Yarn will work with the Angular-cli. It did for a while and then for some reason broke. It would be great if the read me file had official instructions on the usage of npm and yarn. Many thanks!

  3. spongessuck commented on Apr 3, 2017

    @spongessuck

    @MatteoNY You can tell the CLI to use Yarn:

    #3886 (comment)

  4. filipesilva commented on May 4, 2017

    @filipesilva
    Contributor

    Closing as answered, thanks @beeman and @spongessuck !

  5. angular-automatic-lock-bot commented on Sep 7, 2019

    @angular-automatic-lock-bot

    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.

  6. locked and limited conversation to collaborators on Sep 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions