├── .gitignore ├── src ├── index.js ├── TabList.vue ├── TabPane.vue └── Tabs.vue ├── package.json ├── README.md └── LICENSE /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- 1 | import Tabs from './Tabs' 2 | import TabList from './TabList' 3 | import TabPane from './TabPane' 4 | 5 | export { 6 | Tabs, 7 | TabList, 8 | TabPane 9 | } 10 | -------------------------------------------------------------------------------- /src/TabList.vue: -------------------------------------------------------------------------------- 1 | 6 | 7 | 28 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "vue-bulma-tabs", 3 | "version": "1.1.3", 4 | "description": "Tabs component for Vue Bulma", 5 | "main": "src/index.js", 6 | "peerDependencies": { 7 | "bulma": ">=0.6", 8 | "vue": ">=2" 9 | }, 10 | "scripts": {}, 11 | "repository": "vue-bulma/tabs", 12 | "keywords": [ 13 | "vue", 14 | "bulma", 15 | "vue-bulma", 16 | "vue-bulma-component", 17 | "vue-bulma-tabs", 18 | "tabs" 19 | ], 20 | "author": "Fangdun Cai ", 21 | "license": "MIT" 22 | } 23 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Tabs 2 | 3 | [Tabs](http://bulma.io/documentation/components/tabs) component for Vue Bulma. 4 | 5 | 6 | ## Installation 7 | 8 | ```console 9 | $ npm install vue-bulma-tabs --save 10 | ``` 11 | 12 | 13 | ## Examples 14 | 15 | ```vue 16 | 24 | 25 | 35 | ``` 36 | 37 | 38 | ## Badges 39 | 40 | ![](https://img.shields.io/badge/license-MIT-blue.svg) 41 | ![](https://img.shields.io/badge/status-stable-green.svg) 42 | 43 | --- 44 | 45 | > [fundon.me](https://fundon.me)  ·  46 | > GitHub [@fundon](https://github.com/fundon)  ·  47 | > Twitter [@_fundon](https://twitter.com/_fundon) 48 | 49 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | (The MIT License) 2 | 3 | Copyright (c) 2016 fundon <cfddream@gmail.com< 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /src/TabPane.vue: -------------------------------------------------------------------------------- 1 | 21 | 22 | 159 | -------------------------------------------------------------------------------- /src/Tabs.vue: -------------------------------------------------------------------------------- 1 | 28 | 29 | 112 | 113 | 236 | --------------------------------------------------------------------------------