Publish your Components as a vue-custom-element standalone build.
Nuxt Custom-Elements allows you to export your existing project components as custom elements for integration into external pages.
- Using modern and client build
- Export components as widgets
- Use the
Shadow DOM
🥷 - Use TailwindCSS and Vuetify for your widgets
📖 Learn more in the documentation
For cross-browser compatibility (IE11+) the client
build uses the Polyfill custom-elements
Polyfill not included in the
modern
build, optional include by optionmodernPolyfill
(Learn more).
- Clone this repository
- Install dependencies using
npm install
oryarn install
- Start development server using
npm run dev
oryarn dev
- Clone this repository
- Install dependencies using
yarn install
ornpm install
- Build and start with express
yarn start:build
ornpm run start:build
- Open endpoints via
http://127.0.0.1:3000/
in Browser