Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vue-multiple/tabs
基于 Vue2.x 的标签页组件。Vue-based tabs component
https://github.com/vue-multiple/tabs
pane tabs vue vue-multiple-tabs vue-tabs vue2 vuejs vuejs2
Last synced: 3 days ago
JSON representation
基于 Vue2.x 的标签页组件。Vue-based tabs component
- Host: GitHub
- URL: https://github.com/vue-multiple/tabs
- Owner: vue-multiple
- License: other
- Created: 2017-08-01T06:51:02.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2017-08-01T06:52:55.000Z (about 7 years ago)
- Last Synced: 2024-09-19T13:31:54.015Z (8 days ago)
- Topics: pane, tabs, vue, vue-multiple-tabs, vue-tabs, vue2, vuejs, vuejs2
- Language: Vue
- Homepage: http://vue-multiple.github.io/tabs
- Size: 869 KB
- Stars: 11
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tabs
> [Element](https://github.com/ElemeFE/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
```bash
npm install vue-multiple-tabs -S
```## Quick Start
```bash
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
```bash
import Vue from 'vue'
import VmTabs from 'vue-multiple-tabs'
Vue.use(VmTabs)
```For more information, please refer to [Tabs](https://vue-multiple.github.io/tabs) in our documentation.
## Build Setup
``` bash
# 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](http://opensource.org/licenses/MIT)