⚡
Simple API
Clean functional API with mount() and createMount() for easy component mounting
A simple and easy to use Vue instance extension plugin that supports Vue 2.0 and Vue 3.0
# pnpm
pnpm add vue-mount-plugin
# npm
npm install vue-mount-plugin
# yarn
yarn add vue-mount-pluginimport { mount } from 'vue-mount-plugin'
import Modal from './Modal.vue'
// Mount and show immediately
const instance = mount(Modal, {
props: { title: 'Hello World' }
})
// Unmount when done
instance.unmount()