@dominikla/smart-vue-components v2.34.0
Vue 3 Custom Elements as a Library
This package is an example on how to package a custom element by using the defineCustomElement API in Vue 3.
In this case, the vue and @vueuse/core dependencies are externalized to
reduce the package size and ensure it uses the same versions as in the host app.
Demo 🚀
Visit the live demo to see the custom element in action.
Development 👨💻
- npm run dev: start the Vite.js build process in
watchmode
Publish 📦
- npm run build: build the package
- npm publish: publish the package
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago