Web components in Nuxt3?

I've scoured the web and can't find any assistance with the best way to create web components with Nuxt3. I am creating an embeddable widget and want to serve it as a self-composed web component within my project. Can someone please point me in the right direction?
2 Replies
miclgael
miclgael5mo ago
Vue.js
Vue.js - The Progressive JavaScript Framework
GitHub
Custom elements integration (Web components) · nuxt nuxt · Discussi...
Hi there, hope it will be useful to someone because I spent a lot of time integrating custom elements (Web Components) in the nuxt3 framework... The background: We (company) are going to migrate fr...
dwol
dwol5mo ago
vite: {
vue: {
template: {
compilerOptions: {
isCustomElement: tag => tag.includes('-')
}
}
}
},
vite: {
vue: {
template: {
compilerOptions: {
isCustomElement: tag => tag.includes('-')
}
}
}
},
Want results from more Discord servers?
Add your server