1.0.0 • Published 7 years ago

vue-multiple-tabs v1.0.0

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

tabs

Element Tabs clone, extract the core function and did a little change. If you have a better idea of this component improvement, please share it and I will update it immediately.

Install

npm install vue-multiple-tabs -S

Quick Start

import Vue from 'vue'
import {VmTabs, VmTabPane, VmTabBar, VmTabNav } from 'vue-multiple-tabs'
Vue.component('vm-tabs', VmTabs)
Vue.component('vm-tab-pane', VmTabPane)
Vue.component('vm-tab-bar', VmTabBar)
Vue.component('vm-tab-nav', VmTabNav)

OR

import Vue from 'vue'
import VmTabs from 'vue-multiple-tabs'
Vue.use(VmTabs)

For more information, please refer to Tabs in our documentation.

Build Setup

# install dependencies
npm install

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

# build for demo with minification
npm run demo:build

# build for gh-pages with minification
npm run demo:prepublish

# build for production with minification
npm run build

# generate gh-pages
npm run deploy

LICENSE

MIT