1.0.12 • Published 5 years ago

@hawkeyepierce89/vue-quick-menu v1.0.12

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

vue-quick-menu NPM version

This is web navigation component base on vue2.0+. It can be used in both PC and mobile. It's fork and based on original plugin

From fork maker:

I forked this plugin because I don't like overweight libraries like Fort Awesome which used in original library. For this reason I changed it and I simplified the use this library.

Attention:

Please, don't use this plugin with dynamic import components

Installation

 npm install @hawkeyepierce89/vue-quick-menu --save

Usage

<quick-menu>
    <your-icon-component-one />
    <your-icon-component-two />
    <!-- 4 children components is maximum -->
</quick-menu>
import Vue from 'vue';
import quickMenu from '@hawkeyepierce89/vue-quick-menu';
import '@hawkeyepierce89/vue-quick-menu/dist/style.css';

export default {
  ...
  components: {
    quickMenu,
  },
  ...
}

Props

PropertyTypeDefaultDescription
positiontop-left,top-right,bottom-left or bottom-righttop-leftThe position of quick menu
backgroundColorString#009dc7The background color of quick menu