+
Pagina niet gevonden
-
De pagina die u probeert te bereiken is niet gevonden
+
De pagina die u probeert te bereiken is niet gevonden
Terug naar de startpagina
@@ -25,4 +25,4 @@
\ No newline at end of file
+
diff --git a/generator/templates/Default/src/components/MainMenu.vue b/generator/templates/Default/src/components/MainMenu.vue
index 1b937be..e96ee52 100644
--- a/generator/templates/Default/src/components/MainMenu.vue
+++ b/generator/templates/Default/src/components/MainMenu.vue
@@ -1,51 +1,50 @@
+ :key="index"
+ v-for="(item, index) in items">
-
-
- {{ item.title }}
-
-
+
+
+ {{ item.title }}
+
+
-
-
+
{{ subItem.icon }}
-
-
- {{ subItem.title }}
-
+
+
+ {{ subItem.title }}
+
-
+
-
-
+
{{ item.icon }}
-
-
- {{ item.title }}
-
+
+
+ {{ item.title }}
+
-
+
@@ -60,19 +59,14 @@
{
icon: 'fa-users',
title: 'Gebruikers',
- route: 'users',
+ route: {name: 'users'},
}
]
};
},
- methods: {
- routeTo(name) {
- this.$router.push({name: name});
- }
- }
};
\ No newline at end of file
+
diff --git a/generator/templates/Default/src/components/PaginatedAutocomplete.vue b/generator/templates/Default/src/components/PaginatedAutocomplete.vue
index 00098c8..fa014f8 100644
--- a/generator/templates/Default/src/components/PaginatedAutocomplete.vue
+++ b/generator/templates/Default/src/components/PaginatedAutocomplete.vue
@@ -8,7 +8,7 @@
v-if="enabled"
>
-
+
Meer laden
diff --git a/generator/templates/Default/src/components/ProfileMenu.vue b/generator/templates/Default/src/components/ProfileMenu.vue
index 1a8c3e4..f1a0ed1 100644
--- a/generator/templates/Default/src/components/ProfileMenu.vue
+++ b/generator/templates/Default/src/components/ProfileMenu.vue
@@ -5,18 +5,20 @@
offset-y
transition="slide-y-transition"
>
-
-
- fa-user
-
-
+
+
+
+ fa-user
+
+
+
-
- Profiel
-
-
- Uitloggen
-
+
+ Profiel
+
+
+ Uitloggen
+
@@ -35,9 +37,6 @@
},
methods: {
- routeTo(name) {
- this.$router.push({name: name});
- },
logout() {
this.$store.dispatch('Authorization/unauthorized');
}
@@ -47,4 +46,4 @@
\ No newline at end of file
+
diff --git a/generator/templates/Default/src/newmain.js b/generator/templates/Default/src/newmain.js
index af05a7d..bed1da0 100644
--- a/generator/templates/Default/src/newmain.js
+++ b/generator/templates/Default/src/newmain.js
@@ -1,7 +1,7 @@
import '@babel/polyfill'
import Vue from 'vue'
import API from './API.js';
-import './plugins/vuetify'
+import vuetify from './plugins/vuetify';
<%_ if (options.useCrud) { _%>
import VuetifyResource from '@kingscode/vuetify-resource';
<%_ } _%>
@@ -22,6 +22,7 @@ Vue.config.productionTip = false
new Vue({
router,
+ vuetify,
<%_ if (options.useAuthorisation) { _%>
store,
<%_ } _%>
diff --git a/generator/templates/Default/src/plugins/vuetify.js b/generator/templates/Default/src/plugins/vuetify.js
index ca9551e..b5440d2 100644
--- a/generator/templates/Default/src/plugins/vuetify.js
+++ b/generator/templates/Default/src/plugins/vuetify.js
@@ -4,24 +4,34 @@ import '@fortawesome/fontawesome-pro/css/all.css';
import 'vuetify/dist/vuetify.min.css';
import nl from 'vuetify/es5/locale/nl';
-Vue.use(Vuetify, {
- customProperties: true,
- iconfont: 'fa',
+Vue.use(Vuetify);
+export default new Vuetify({
icons: {
- 'close': 'fas fa-times',
- 'menu': 'fas fa-bars',
- 'delete': 'fas fa-trash',
- 'add': 'fas fa-plus',
- 'edit': 'fas fa-pencil-alt',
- 'search': 'fas fa-search',
+ iconfont: 'fa',
+ values: {
+ 'close': 'far fa-times',
+ 'menu': 'far fa-bars',
+ 'delete': 'far fa-trash-alt',
+ 'add': 'far fa-plus',
+ 'edit': 'far fa-pencil-alt',
+ 'search': 'far fa-search',
+ },
},
+ customProperties: true,
lang: {
locales: {nl},
current: 'nl',
},
theme: {
- primary: '#002F4E',
- secondary: '#000000',
- accent: '#FFD0B1',
+ options: {
+ customProperties: true,
+ },
+ themes: {
+ light: {
+ primary: '#002F4E',
+ secondary: '#000000',
+ accent: '#FFD0B1',
+ },
+ },
},
});
diff --git a/generator/templates/Default/src/views/Home.vue b/generator/templates/Default/src/views/Home.vue
index e1d86b7..918236f 100644
--- a/generator/templates/Default/src/views/Home.vue
+++ b/generator/templates/Default/src/views/Home.vue
@@ -1,5 +1,8 @@
-
+
+ You now can remove this and create your own homepage, or in the router.js create a redirect to one of the other
+ views, so that becomes the homepage
+