实现一个vue 应用的webcomponent
Project setup
yarn install
Compiles and hot-reloads for development
yarn run serve
Compiles and minifies for webcomponent
vue build --target wc-async --name web-app 'src/App.vue'
Lints and fixes files
yarn run lint
yarn install
yarn run serve
vue build --target wc-async --name web-app 'src/App.vue'
yarn run lint