# Getting Started
# Installation
npm i vue-fullpage-modal
# How to Use
# plugin
import FullpageModal from 'vue-fullpage-modal'
Vue.use(FullpageModal)
# component
<template>
<div>
<button @click="openModal">open</button>
</div>
</template>
<script>
import HelloWorld from './HelloWorld'
export default {
methods: {
openModal() {
this.$FModal.show(
{
component: HelloWorld
},
{
msg: "Welcome to Your Vue.js App"
}
)
}
}
}
</script>
🎉 easy!
Playground →