Closed
Description
Version
3.0.0-rc.10
Node and OS info
npm 6.2.0 / node 10.7.0
Steps to reproduce
Use vue ui
Go to build
Go to settings
Change target to: webcomponent
Change Name to: my-component
Save settings
Press "build"
Enjoy the error :(
What is expected?
No error
What is actually happening?
The following error is thrown:
$ vue-cli-service build --mode development --dest dist --target wc --port my-component--dashboard
ERROR --name must contain a hyphen when building a single web component.
Apparently the command that's being executed is wrong? (I'm a command line rookie)
--port my-component
seems wrong to me
According to this link https://cli.vuejs.org/guide/cli-service.html#vue-cli-service-build it should be
--name my-component
right?