https://github.com/subwaytime/waku
Vue 3 Component DOM Mounting
https://github.com/subwaytime/waku
component dom element html html5 mount vue vue-components vue3 vuejs
Last synced: about 1 year ago
JSON representation
Vue 3 Component DOM Mounting
- Host: GitHub
- URL: https://github.com/subwaytime/waku
- Owner: Subwaytime
- License: mit
- Created: 2021-06-18T11:25:22.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2025-03-27T14:29:52.000Z (over 1 year ago)
- Last Synced: 2025-03-27T15:35:51.999Z (over 1 year ago)
- Topics: component, dom, element, html, html5, mount, vue, vue-components, vue3, vuejs
- Language: TypeScript
- Homepage: https://vue-mountable.netlify.app
- Size: 745 KB
- Stars: 13
- Watchers: 2
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
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
```bash
# bun
bun i vue-mountable
# npm
npm i vue-mountable
# pnpm
pnpm i vue-mountable
```
Add it to `main.js`
```ts
import { VueMountable } from 'vue-mountable';
// created vue instance
app.use(VueMountable());
```
## Getting Started
```ts
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](https://github.com/subwaytime)