3.0.3 • Published 7 years ago

v-tab v3.0.3

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

VTab

npm vue2

Tab components for Vue.js

Installation

Using yarn

yarn add v-tab

Using npm

npm i --save v-tab

Demo

DEMO

Usage

Bundler (Webpack, Rollup)

import Vue from 'vue'

import VTab from 'v-tab'

// You need a specific loader for CSS files like https://github.com/webpack/css-loader
import 'v-tab/dist/v-tab.css'

Vue.use(VTab)

Browser

<!-- Include after Vue -->
<link rel="stylesheet" href="v-tab/dist/v-tab.css"></link>
<script src="v-tab/dist/v-tab.js"></script>
<script>
  Vue.use(VTab)
</script>

Example

<template>
  <v-tabs class="v-tab-vertical">
    <v-tab label='First'>
      First tab content
    </v-tab>  
    <v-tab label='Second'>
      Second tab content
    </v-tab>  
    <v-tab label='Third'>
      Third tab content
    </v-tab>  
  </v-tab>
</template>

What about appearence?

Just override the css classes, See the structure:

.v-tab
  .v-tab-tabs
    .v-tab-tab
  .v-tab-content

Author

License

This project is licensed under MIT License

3.0.3

7 years ago

3.0.2

7 years ago

3.0.1

7 years ago

3.0.0

7 years ago

2.0.0

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago