Skip to content

kien5436/vue-nav-tab

Repository files navigation

vue-nav-tab

Tab components for Vue.js project

Build status

Build status npm

Features

  • Built with Vue 3's Composition API
  • Zero dependency
  • Create horizontal or vertical tabs
  • Open, close or refresh tabs programatically
  • Drag'n'drop tabs
  • Easily customizing tabs and page view

Installation

yarn add vue-nav-tab
# or
npm i vue-nav-tab

Browser support

Chrome Firefox IE Opera Safari
51+ 54+ 15+ 38+ 10+

Usage

Please refer to documentation

Contribution

If you want to contribute for this project, feel free to create pull request but please follow the guide:

  • Comply with eslint
  • Choose dev branch for developing and merging

To test this library locally:

# build
yarn build

# create portable module
yarn pack

# copy the vue-nav-tab-<version>.tgz file to the root of consumer project and add it as dependency
"dependencies": {
  "vue-nav-tab": "file:vue-nav-tab-<version>.tgz"
}

# install it
yarn

License

MIT