Vue directive dropdown

a vue dropdwon directive

Version: 1.0.0 Updated: 05/16/2017

By: renyufei

Downloads Last 30 Days: 14

Install

npm i vue-directive-dropdown
yarn add vue-directive-dropdown

CDNs

bundle.run: https://bundle.run/vue-directive-dropdown

jsDelivr: https://cdn.jsdelivr.net/npm/vue-directive-dropdown

unpkg: https://unpkg.com/vue-directive-dropdown

vue-directive-dropdown

a vue dropdwon directive

Usage

import Dropdown from 'vue-directive-dropdwon'
Vue.directive('dropdown', Dropdown)
<div class="btn-group" v-dropdown="'open'">

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report

# run unit tests
npm run unit

# run e2e tests
npm run e2e

# run all tests
npm test

For detailed explanation on how things work, checkout the guide and docs for vue-loader.

Categories: Vue js
Tags: