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-element-multiple-tabs -S
Quick Start
import Vue from 'vue'import {VmTabs, VmTabPane, VmTabBar, VmTabNav } from 'vue-element-multiple-tabs'Vue.componentVue.componentVue.componentVue.component
OR
import Vue from 'vue'import VmTabs from 'vue-element-multiple-tabs'Vue.use
For more information, please refer to Tabs in our documentation.
Build Setup
# install dependenciesnpm install# serve with hot reload at localhost:8080npm run demo:dev# build for demo with minificationnpm run demo:build# build for gh-pages with minificationnpm run demo:prepublish# build for production with minificationnpm run build# generate gh-pagesnpm run deploy
Attention
Tabs.Vue exist mistakes in grammar! TODO resolve.