Vue Mountable
Vue Mountable is a tiny DOM Library for Vue 3.
Features
• Native Vue 3 Teleport
• Slotting, Events & Props
• use inject
and provide
• Mount multiple Children Components
• Mount HTML Tag's
• Support for defineComponent
and defineAsyncComponent
• Support for multiple Vue Instances
• Hot-Module Reloading for vite
Usage
Install
Add it to main.js
Getting Started
Examples
Tiny List of what you can do with Mountable:
Configuration
Current available Function Parameters:
Limitations
At the Moment the useComponent
Function is only available in the setup
Lifecycle. This is due to the usage of inject/provide
from Vue 3.
Also there is no Devtools Support, but its in the works! That means added Components wont be visible in Devtools for now..