diff --git a/src/components/LeftMenu.component.vue b/src/components/LeftMenu.component.vue index 20ded20..d5c1641 100644 --- a/src/components/LeftMenu.component.vue +++ b/src/components/LeftMenu.component.vue @@ -1,61 +1,61 @@ - diff --git a/src/components/nest/CreateDataSet.component.vue b/src/components/nest/CreateDataSet.component.vue new file mode 100644 index 0000000..8f92241 --- /dev/null +++ b/src/components/nest/CreateDataSet.component.vue @@ -0,0 +1,54 @@ + + + + + \ No newline at end of file diff --git a/src/main.ts b/src/main.ts index 38f4673..28ea467 100644 --- a/src/main.ts +++ b/src/main.ts @@ -5,7 +5,7 @@ import router from './router'; import store from './store/store'; import '@ionic/core/css/core.css'; import '@ionic/core/css/ionic.bundle.css'; -import vuetify from '@/plugins/vuetify'; +import vuetify from '@/plugins/vuetify/vuetify'; import 'material-design-icons-iconfont/dist/material-design-icons.css'; diff --git a/src/plugins/defaultLight.ts b/src/plugins/vuetify/defaultLight.ts similarity index 92% rename from src/plugins/defaultLight.ts rename to src/plugins/vuetify/defaultLight.ts index a18bf51..69c04c3 100644 --- a/src/plugins/defaultLight.ts +++ b/src/plugins/vuetify/defaultLight.ts @@ -5,7 +5,7 @@ * https://vuetifyjs.com/en/customization/theme#theme */ export default { - // REIN light theme colors + // GELEGEAPP light theme colors 'primary': '#33b370', 'secondary': '#172B4D', 'accent': '#00A252', diff --git a/src/plugins/vuetify/vuetify.ts b/src/plugins/vuetify/vuetify.ts new file mode 100644 index 0000000..6aecabc --- /dev/null +++ b/src/plugins/vuetify/vuetify.ts @@ -0,0 +1,26 @@ +import Vue from 'vue'; +import Vuetify from 'vuetify/lib'; +import defaultThemeLight from './defaultLight'; + +// Translation provided by Vuetify (typescript) +import de from 'vuetify/src/locale/de'; + +Vue.use(Vuetify); + +export default new Vuetify({ + icons: { + iconfont: 'mdi', // default value + }, + lang: { + locales: { de }, + current: 'de', + }, + theme: { + options: { + customProperties: true, + }, + themes: { + light: defaultThemeLight, + }, + }, +}); diff --git a/src/router/index.ts b/src/router/index.ts index c424493..83c1eff 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -8,8 +8,6 @@ import CreateDataSetView from '@/views/CreateDataSet.view.vue'; import AuthGuard from "@/helpers/AuthGuard"; import Router from 'vue-router'; -Vue.use(IonicVueRouter); - // Handle NavigationDuplicated stack error: // https://github.com/vuejs/vue-router/issues/2881#issuecomment-520554378 const originalPush = Router.prototype.push; diff --git a/src/views/CreateDataSet.view.vue b/src/views/CreateDataSet.view.vue index 065182e..d1d3cd4 100644 --- a/src/views/CreateDataSet.view.vue +++ b/src/views/CreateDataSet.view.vue @@ -1,15 +1,23 @@ diff --git a/src/views/Home.view.vue b/src/views/Home.view.vue index 9b3ab40..6a36758 100644 --- a/src/views/Home.view.vue +++ b/src/views/Home.view.vue @@ -4,40 +4,38 @@
- Menü + + mdi-menu +
{{ headerTitle }}
- +