2.0.0 • Published 6 years ago

@kevindesousa/vue-dropdown v2.0.0

Weekly downloads
37
License
MIT
Repository
-
Last release
6 years ago

vue-dropdown

A Vue component that shows a dropdown.

npm version Maintainability

Installation

npm i --save @kevindesousa/vue-dropdown

Browser

Include the script file, then install the component with Vue.use(VueDropdown); e.g.:

<script type="text/javascript" src="node_modules/vuejs/dist/vue.min.js"></script>
<script type="text/javascript" src="node_modules/vue-dropdown-simple/dist/vue-dropdown.min.js"></script>
<script type="text/javascript">
  Vue.use(VueDropdown);
</script>

Module

import VueDropdown from '@kevindesousa/vue-dropdown';

Usage

Once installed, it can be used in a template as simply as:

<vue-dropdown></vue-dropdown>