https://github.com/vue-multiple/popover
Vue-based popover component
https://github.com/vue-multiple/popover
Last synced: 7 months ago
JSON representation
Vue-based popover component
- Host: GitHub
- URL: https://github.com/vue-multiple/popover
- Owner: vue-multiple
- License: other
- Created: 2017-08-11T08:52:15.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-08-11T08:56:42.000Z (almost 9 years ago)
- Last Synced: 2025-03-02T22:35:24.447Z (over 1 year ago)
- Language: Vue
- Homepage: https://vue-multiple.github.io/popover/
- Size: 917 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# popover
> [Element](https://github.com/ElemeFE/element) Popover clone, and did just a little change. If you have a better idea of this component improvement, please share it and I will update it immediately.
## Install
```bash
npm install vue-multiple-popover -S
```
## Quick Start
```bash
import Vue from 'vue'
import Popover from 'vue-multiple-popover'
Vue.use(Popover)
```
then, you can use:
```
```
OR
```bash
import Vue from 'vue'
import {Popover, directive} from 'vue-multiple-popover'
Vue.component('vm-popover', Popover)
Vue.directive('vm-popover', directive)
```
then, you can use:
```
```
For more information, please refer to [Popover](https://vue-multiple.github.io/popover) in our documentation.
## Build Setup
``` bash
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run demo:dev
# build for demo with minification
npm run demo:build
# build for gh-pages with minification
npm run demo:prepublish
# build for production with minification
npm run build
# generate gh-pages
npm run deploy
```
## LICENSE
[MIT](http://opensource.org/licenses/MIT)