Waku is a tiny DOM Library for Vue 3.
• 🤏 Tiny - Only 3.8KB 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!
Install
# bun
bun i @subwaytime/waku
# npm
npm i @subwaytime/waku
# pnpm
pnpm i @subwaytime/waku
Add it to main.js
import { createWaku } from '@subwaytime/waku';
// created vue instance
app.use(createWaku());
import { mountComponent } from '@subwaytime/waku';
import component from 'component.vue';
const { id, vNode, el, destroy } = mountComponent(component);
For the full documentation, visit subwaytime-waku.netlify.app
For NPM, visit npmjs.com/package/@subwaytime/waku
MIT License © 2021-PRESENT Leon Langer