Skip to content

ng g route throws multicase error #539

Closed

Description

@sharpmachine

Hi there,

So running 0.0.34. When I run ng g route subject to create a new route I get the following error:

installing route
installing component
Names must contain a dash either include a dash or multiCase name. (i.e. multiCase -> multi-case)

Previous versions didn't do this.

Versions:
OSX El Capitan
angular-cli: 0.0.34
node: 4.2.6
os: darwin x64

Activity

  1. Brocco commented on Apr 27, 2016

    @Brocco
    Contributor

    This was new and is a temporary implementation... the HTML 5 spec states that custom DOM elements must contain a dash to be valid and since subject would not kebab-case to have a dash it is considered invalid.

    There is a fix to this to allow specification of a default prefix for selectors which would satisfy the dash requirement. That will be part of the next release of the CLI.

  2. added 3 commits that reference this issue on Apr 27, 2016
    b40bbc4
    3d1afc1
    875a743
  3. angular-automatic-lock-bot commented on Sep 5, 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.

  4. locked and limited conversation to collaborators on Sep 5, 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