You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
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:
Apparently the command that's being executed is wrong? (I'm a command line rookie)
--port my-component
seems wrong to meAccording to this link https://cli.vuejs.org/guide/cli-service.html#vue-cli-service-build it should be
right?
The text was updated successfully, but these errors were encountered: