Separated tab-switcher into a reusable component. This depends on JSX addition

This commit is contained in:
Henry Jameson 2018-08-27 22:22:25 +03:00
commit eacbd9b500
4 changed files with 215 additions and 126 deletions

View file

@ -1,3 +1,4 @@
import TabSwitcher from '../tab_switcher/tab_switcher.jsx'
import StyleSwitcher from '../style_switcher/style_switcher.vue'
const UserSettings = {
@ -23,7 +24,8 @@ const UserSettings = {
}
},
components: {
StyleSwitcher
StyleSwitcher,
TabSwitcher
},
computed: {
user () {