vue-mountable
TypeScript icon, indicating that this package has built-in type declarations

0.1.5 • Public • Published

Vue Mountable

Vue Mountable is a tiny DOM Library for Vue 3.

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

Package Sidebar

Install

npm i vue-mountable

Weekly Downloads

63

Version

0.1.5

License

MIT

Unpacked Size

8.55 kB

Total Files

5

Last publish

Collaborators

  • subwaytime