2.0.3 • Published 4 years ago
mood-popup v2.0.3
mood-popup
Introduction
The best Vue.js popup component
Support the project ⭐
If you're feeling great and want to support us in a modest way, consider featuring and sharing the repo! It helps us to become known and develop the community.
Links
Usage
Install
# npm
npm install --save mood-popup
main.js
import Vue from 'vue';
import MPopup from 'mood-popup';
Vue.use(MPopup);
Vue file
<template>
<div>
<div :el="'#id-element-join'">join element</div>
<m-popup :el="'#id-element-join'" format="DD MMM YYYY">
<!-- Your code hear -->
</m-popup>
</div>
</template>
<script>
import Vue from from 'vue';
import MPopup from from 'mood-popup';
export default {
components: {
'm-popup': MPopup
}
}
</script>