├── package.json ├── src ├── Tab.vue ├── Demo.vue └── Tabs.vue └── README.md /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "learn-vue-tabs", 3 | "version": "1.0.0", 4 | "description": "", 5 | "main": "index.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "author": "", 10 | "license": "ISC" 11 | } 12 | -------------------------------------------------------------------------------- /src/Tab.vue: -------------------------------------------------------------------------------- 1 | 6 | 7 | 22 | 23 | 26 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # LearnVue Reusable Tabs Component Tutorial 2 | 3 | This is the starter code for the learnvue.co Reusable Tabs Component Tutorial. 4 | 5 | To simplify this repo, we used a global install of the vue-cli. 6 | 7 | In order to run this repo, do vue/cli-service-global by 8 | 9 | `npm install -g @vue/cli-service-global` 10 | 11 | And run the app using 12 | 13 | `vue serve src/Demo.vue`. 14 | 15 | For further questions, email matt@learnvue.co or checkout learnvue.co 16 | -------------------------------------------------------------------------------- /src/Demo.vue: -------------------------------------------------------------------------------- 1 | 12 | 13 | 38 | 39 | 60 | -------------------------------------------------------------------------------- /src/Tabs.vue: -------------------------------------------------------------------------------- 1 | 14 | 15 | 47 | 48 | 112 | --------------------------------------------------------------------------------