Vue 3 Web Component target
See original GitHub issueWhat problem does this feature solve?
As a vue-cli and Vue 3 user I would like to be able to build and deploy a package as a web compomponent, so that it can be built and deployed in the same way as it’s currently possible with vue-cli and Vue 2
What does the proposed API look like?
i.e. vue-cli-service build --target wc --name my-web-component-name --inline-vue
Issue Analytics
- State:
- Created 3 years ago
- Reactions:40
- Comments:39 (4 by maintainers)
Top Results From Across the Web
Build Targets - Vue CLI
Bundle that Registers Multiple Web Components #. When building a web component bundle, you can also target multiple components by using a glob ......
Read more >Vue 3 Web Components do not build and instead throw error
The error occurs because you're targeting web components in a Vue 3 project, which is not yet fully supported. If you really want...
Read more >Building Web Components with Vue 3.2 - This Dot Labs
Vue -Powered Web Components · First, we import Vue's defineCustomElement function, which converts a Vue component into a custom element. · We ...
Read more >Use Web Components in Vue 2 and 3 + Composition API
This post will go over how to incorporate a Web Component into a Vue application. Examples will include Vue versions 2 and 3, ......
Read more >Create & Publish Web Components With Vue CLI 3
Vue.js is an effective tool for creating web components, especially with Vue CLI 3 and the new @vue/web-component-wrapper.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi,
I have the same require, i would like to be able to build and deploy a package as a web compomponent with vue3.
Is there a date to support of the web component with vue3?
Thks
Proper building as WC is definitely needed asap for Vue 3 adoption.