question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Vue 3 Web Component target

See original GitHub issue

What 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:open
  • Created 3 years ago
  • Reactions:40
  • Comments:39 (4 by maintainers)

github_iconTop GitHub Comments

17reactions
y-sanchezcommented, Nov 25, 2020

Hi,

I have the same require, i would like to be able to build and deploy a package as a web compomponent with vue3.

image

Is there a date to support of the web component with vue3?

Thks

9reactions
leonheesscommented, Jan 13, 2022

Proper building as WC is definitely needed asap for Vue 3 adoption.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found