-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Labels
Description
⚠️ Currently, there is no backward compatibility withnuxt@2oderbridgewhen updating.
Nuxt 3 version is available 🎉
Install
npm i nuxt-custom-elements@beta
Todos
- Implement
vue-web-component-wrapperfor usagei18n,pinia,vuetify - Solved 🎉
⚠️ Not really usable until now When importing component inside custom element, style is discarded vuejs/core#4662- Workaround
unplugin-vue-ce- Vite
- Webpack: Webpack build fails unplugin/unplugin-vue-ce#65
- Workaround
- Code refactoring
-
webpackBuild (@nuxt/webpack-builder)- Entries build with
buildorgenerate. -
publicPathintegration? (https://webpack.js.org/guides/public-path/#automatic-publicpath) - extend
webpackconfig - Bundle Analyzer?
- Entries build with
-
viteBuild (@nuxt/vite-builder)- Entries build with
buildorgenerate. -
publicPathintegration? (https://www.npmjs.com/package/vite-plugin-dynamic-base) - extend
viteconfig - Bundle Analyzer?
- Entries build with
-
vitestTests update-
@nuxt/vite-builder -
@nuxt/webpack-builder
-
- Update Documentation
-
nuxtbackward compatibility (nuxt-bridge)
Features
- Vue3 native custom element integration will be used. https://vuejs.org/guide/extras/web-components.html#building-custom-elements-with-vue
⚠️ Important: custom-elements are offered only as shadow elements.
Problems?
AndreasHerss, mklueh, maninak, dselivanovvv and maximepvrt