Skip to content

generate command does not allow single word components #8144

@ppcano

Description

@ppcano
ember-cli: 3.5.0
http_parser: 2.7.0
node: 6.9.4
v8: 5.1.281.89
uv: 1.9.1
zlib: 1.2.8
ares: 1.10.1-DEV
icu: 57.1
modules: 48
openssl: 1.0.2j
os: darwin x64
6.4.1
1.9.4

Ember supports Angle Bracket syntax since 3.4 but the ember generate component command fails when running it with a single word component name.

ember g component hola
You specified "hola", but in order to prevent clashes with current or future HTML element names, you must include a hyphen in the component name.

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