Based on TodoMVC.
yarn install
yarn run serve
yarn run build
vue build --target wc --name vue-todo-app ./src/App.vue
--name
is component name./src.App.vue
is path to component (more info in vue-cli docs)
Short version:
yarn build-wc
First, you must install little server:
yarn global add static-server
Next:
cd dist && static-server -i demo.html
Short version:
yarn run-wc
yarn run lint