Skip to content

Subwaytime/waku

Repository files navigation

Waku

Waku is a tiny DOM Library for Vue 3.

Features

• 🤏 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!

Usage

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());

Getting Started

import { mountComponent } from '@subwaytime/waku';
import component from 'component.vue';

const { id, vNode, el, destroy } = mountComponent(component);

Documentation

For the full documentation, visit subwaytime-waku.netlify.app
For NPM, visit npmjs.com/package/@subwaytime/waku

License

MIT License © 2021-PRESENT Leon Langer