Handle dropdown menu easily with this Vuejs component.
Vuejs >= 2.x
$ npm install vue-my-dropdown
You can import and insert the component using:
import dropdown from 'vue-my-dropdown'
// Component
export default {
//...
components: { dropdown },
//...
}
.babelrc
configuration. Now use env
presetAuthor: davidnotplay
Demo: https://davidnotplay.github.io/vue-my-dropdown/
Source Code: https://github.com/davidnotplay/vue-my-dropdown
#vue #vuejs #javascript