0.1.5 ā¢ Published 3 months ago
vue-mountable v0.1.5
Features
ā¢ š¤ Tiny - Only 2.85KB min
ā¢ š Native Vue 3
ā¢ ā” Fast & Simple - no config required!
ā¢ š„ Hot-Module Reloading for vite
ā¢ š« Usable outside of setup
lifecycle
ā¢ š Support for defineComponent
, defineAsyncComponent
, h
and more!
Usage
Install
# bun
bun i vue-mountable
# npm
npm i vue-mountable
# pnpm
pnpm i vue-mountable
Add it to main.js
import { VueMountable } from 'vue-mountable';
// created vue instance
app.use(VueMountable());
Getting Started
import { mountComponent } from 'vue-mountable';
import component from 'component.vue';
const { id, vNode, el, destroy } = mountComponent(component);
Documentation
For the full documentation, visit vue-mountable.netlify.app For NPM, visit npmjs.com/package/vue-mountable
License
MIT License Ā© 2021-PRESENT Leon Langer