generator-polymer
generator-polymer copied to clipboard
Throw an error to element name without dash
Does element name need to have dash in between?
Running yo polymer:seed element-name will create a seed element and install the Bower dependencies.
However, running yo polymer:seed elementname and after a while thing stops running and nothing shows up. If a dash is required in the element's name, the error should be thrown to let the user know what happened and what's wrong and should be corrected so that they don't stare at the screen for quite a moment and have no idea what's going on. :smile:
According to the specification, yes, you need a dash for all custom elements.
Hm, I immediately get an error when I type yo polymer:seed foo
Are others not seeing that?
Running generator-polymer 1.2.10 on Windows 10 and not seeing the error.
Can you also tell me which version of node you're using?