Content-Length: 274517 | pFad | https://github.com/bryanvaz/vue-custom-element-shadow-examples

73 GitHub - bryanvaz/vue-custom-element-shadow-examples: Shadow DOM for vue-custom-element
Skip to content

bryanvaz/vue-custom-element-shadow-examples

Repository files navigation

ShadowDOM examples for vue-custom-element

Demonstrates how ShadowDOM based WebComponents functionality should work with VueCLI 3 based projects.

This project uses vue-custom-element for WebComponent functionality, however similar principles should apply for the native web-component-wrapper.

Working example: https://bryanvaz.github.io/vue-custom-element-shadow-examples/

Run example in dev mode

yarn install
yarn watch

Note: Vuetify does not natively support ShadowDOM-based WebComponents, and therefore does not work with HMR.

Compiles and builds web component

yarn build:lib
yarn http demo

Notes

  • The built library is quite large due to Vuetify including its entire code base into the WebComponent. This is an example of how a prebuilt UI library should used a-la-cart to avoid bloat.

About

Shadow DOM for vue-custom-element

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/bryanvaz/vue-custom-element-shadow-examples

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy