From 160c9195f040bcb6049ceecf77cc7441ad756b07 Mon Sep 17 00:00:00 2001
From: ricardovanlaarhoven <ricardo1994@gmail.com>
Date: Thu, 11 Jul 2019 08:40:52 +0200
Subject: [PATCH] remove capital in folders

---
 .../Authorisation/src/{Views => views}/InvitationAccept.vue | 0
 .../templates/Authorisation/src/{Views => views}/Login.vue  | 0
 .../src/{Views => views}/PasswordForgotten.vue              | 0
 .../Authorisation/src/{Views => views}/PasswordReset.vue    | 0
 .../Authorisation/src/{Views => views}/Profile.vue          | 0
 .../Crud/src/{Components => components}/BaseForm.vue        | 0
 .../Crud/src/{Components => components}/BaseResource.vue    | 2 +-
 .../Crud/src/{Components => components}/forms/User.vue      | 0
 .../templates/Crud/src/{Mixins => mixins}/formDataValues.js | 0
 .../templates/Crud/src/{Views => views}/UserResource.vue    | 6 +++---
 generator/templates/Default/src/API.js                      | 3 ++-
 .../Default/src/{Components => components}/MainMenu.vue     | 0
 .../{Components => components}/PaginatedAutocomplete.vue    | 0
 .../Default/src/{Components => components}/ProfileMenu.vue  | 0
 generator/templates/Default/src/newmain.js                  | 6 ++++++
 generator/templates/Default/src/{Views => views}/Home.vue   | 0
 package.json                                                | 4 ++--
 17 files changed, 14 insertions(+), 7 deletions(-)
 rename generator/templates/Authorisation/src/{Views => views}/InvitationAccept.vue (100%)
 rename generator/templates/Authorisation/src/{Views => views}/Login.vue (100%)
 rename generator/templates/Authorisation/src/{Views => views}/PasswordForgotten.vue (100%)
 rename generator/templates/Authorisation/src/{Views => views}/PasswordReset.vue (100%)
 rename generator/templates/Authorisation/src/{Views => views}/Profile.vue (100%)
 rename generator/templates/Crud/src/{Components => components}/BaseForm.vue (100%)
 rename generator/templates/Crud/src/{Components => components}/BaseResource.vue (99%)
 rename generator/templates/Crud/src/{Components => components}/forms/User.vue (100%)
 rename generator/templates/Crud/src/{Mixins => mixins}/formDataValues.js (100%)
 rename generator/templates/Crud/src/{Views => views}/UserResource.vue (87%)
 rename generator/templates/Default/src/{Components => components}/MainMenu.vue (100%)
 rename generator/templates/Default/src/{Components => components}/PaginatedAutocomplete.vue (100%)
 rename generator/templates/Default/src/{Components => components}/ProfileMenu.vue (100%)
 rename generator/templates/Default/src/{Views => views}/Home.vue (100%)

diff --git a/generator/templates/Authorisation/src/Views/InvitationAccept.vue b/generator/templates/Authorisation/src/views/InvitationAccept.vue
similarity index 100%
rename from generator/templates/Authorisation/src/Views/InvitationAccept.vue
rename to generator/templates/Authorisation/src/views/InvitationAccept.vue
diff --git a/generator/templates/Authorisation/src/Views/Login.vue b/generator/templates/Authorisation/src/views/Login.vue
similarity index 100%
rename from generator/templates/Authorisation/src/Views/Login.vue
rename to generator/templates/Authorisation/src/views/Login.vue
diff --git a/generator/templates/Authorisation/src/Views/PasswordForgotten.vue b/generator/templates/Authorisation/src/views/PasswordForgotten.vue
similarity index 100%
rename from generator/templates/Authorisation/src/Views/PasswordForgotten.vue
rename to generator/templates/Authorisation/src/views/PasswordForgotten.vue
diff --git a/generator/templates/Authorisation/src/Views/PasswordReset.vue b/generator/templates/Authorisation/src/views/PasswordReset.vue
similarity index 100%
rename from generator/templates/Authorisation/src/Views/PasswordReset.vue
rename to generator/templates/Authorisation/src/views/PasswordReset.vue
diff --git a/generator/templates/Authorisation/src/Views/Profile.vue b/generator/templates/Authorisation/src/views/Profile.vue
similarity index 100%
rename from generator/templates/Authorisation/src/Views/Profile.vue
rename to generator/templates/Authorisation/src/views/Profile.vue
diff --git a/generator/templates/Crud/src/Components/BaseForm.vue b/generator/templates/Crud/src/components/BaseForm.vue
similarity index 100%
rename from generator/templates/Crud/src/Components/BaseForm.vue
rename to generator/templates/Crud/src/components/BaseForm.vue
diff --git a/generator/templates/Crud/src/Components/BaseResource.vue b/generator/templates/Crud/src/components/BaseResource.vue
similarity index 99%
rename from generator/templates/Crud/src/Components/BaseResource.vue
rename to generator/templates/Crud/src/components/BaseResource.vue
index 97568ce..7d8ef61 100644
--- a/generator/templates/Crud/src/Components/BaseResource.vue
+++ b/generator/templates/Crud/src/components/BaseResource.vue
@@ -24,7 +24,7 @@
     </v-container>
 </template>
 <script>
-    import FormDataValues from './../mixins/formDataValues';
+    import FormDataValues from '../mixins/formDataValues';
 
     export default {
         components: {},
diff --git a/generator/templates/Crud/src/Components/forms/User.vue b/generator/templates/Crud/src/components/forms/User.vue
similarity index 100%
rename from generator/templates/Crud/src/Components/forms/User.vue
rename to generator/templates/Crud/src/components/forms/User.vue
diff --git a/generator/templates/Crud/src/Mixins/formDataValues.js b/generator/templates/Crud/src/mixins/formDataValues.js
similarity index 100%
rename from generator/templates/Crud/src/Mixins/formDataValues.js
rename to generator/templates/Crud/src/mixins/formDataValues.js
diff --git a/generator/templates/Crud/src/Views/UserResource.vue b/generator/templates/Crud/src/views/UserResource.vue
similarity index 87%
rename from generator/templates/Crud/src/Views/UserResource.vue
rename to generator/templates/Crud/src/views/UserResource.vue
index 2edcdbb..2dde9a1 100644
--- a/generator/templates/Crud/src/Views/UserResource.vue
+++ b/generator/templates/Crud/src/views/UserResource.vue
@@ -1,6 +1,6 @@
 <script>
-    import UserForm from './../components/forms/User.vue';
-    import BaseResource from './../components/BaseResource.vue';
+    import UserForm from '../components/forms/User.vue';
+    import BaseResource from '../components/BaseResource.vue';
 
     export default {
         components: {UserForm},
@@ -34,4 +34,4 @@
 
 <style scoped>
 
-</style>
\ No newline at end of file
+</style>
diff --git a/generator/templates/Default/src/API.js b/generator/templates/Default/src/API.js
index 063ee4e..b5741c2 100644
--- a/generator/templates/Default/src/API.js
+++ b/generator/templates/Default/src/API.js
@@ -2,8 +2,9 @@
 import axios from 'axios';
 import router from './router';
 import qs from 'qs';
+<%_ if (options.useAuthorisation) { _%>
 import store from './store/store.js'
-
+<%_ } _%>
 /**
  * Instantiate promise based HTTP client for the browser and node.js
  *
diff --git a/generator/templates/Default/src/Components/MainMenu.vue b/generator/templates/Default/src/components/MainMenu.vue
similarity index 100%
rename from generator/templates/Default/src/Components/MainMenu.vue
rename to generator/templates/Default/src/components/MainMenu.vue
diff --git a/generator/templates/Default/src/Components/PaginatedAutocomplete.vue b/generator/templates/Default/src/components/PaginatedAutocomplete.vue
similarity index 100%
rename from generator/templates/Default/src/Components/PaginatedAutocomplete.vue
rename to generator/templates/Default/src/components/PaginatedAutocomplete.vue
diff --git a/generator/templates/Default/src/Components/ProfileMenu.vue b/generator/templates/Default/src/components/ProfileMenu.vue
similarity index 100%
rename from generator/templates/Default/src/Components/ProfileMenu.vue
rename to generator/templates/Default/src/components/ProfileMenu.vue
diff --git a/generator/templates/Default/src/newmain.js b/generator/templates/Default/src/newmain.js
index fa5f8ef..af05a7d 100644
--- a/generator/templates/Default/src/newmain.js
+++ b/generator/templates/Default/src/newmain.js
@@ -2,7 +2,9 @@ import '@babel/polyfill'
 import Vue from 'vue'
 import API from './API.js';
 import './plugins/vuetify'
+<%_ if (options.useCrud) { _%>
 import VuetifyResource from '@kingscode/vuetify-resource';
+<%_ } _%>
 import App from './App.vue'
 import router from './router'
 <%_ if (options.useAuthorisation) { _%>
@@ -12,12 +14,16 @@ import './registerServiceWorker'
 
 Vue.prototype.$http = API;
 window.$http = API;
+<%_ if (options.useCrud) { _%>
 Vue.use(VuetifyResource);
+<%_ } _%>
 
 Vue.config.productionTip = false
 
 new Vue({
     router,
+<%_ if (options.useAuthorisation) { _%>
     store,
+<%_ } _%>
     render: h => h(App)
 }).$mount('#app')
diff --git a/generator/templates/Default/src/Views/Home.vue b/generator/templates/Default/src/views/Home.vue
similarity index 100%
rename from generator/templates/Default/src/Views/Home.vue
rename to generator/templates/Default/src/views/Home.vue
diff --git a/package.json b/package.json
index 5c619e2..03cb94c 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
 {
   "name": "vue-cli-plugin-kingscode-scaffold",
-  "version": "0.1.5",
+  "version": "0.1.6",
   "description": "",
   "main": "index.js",
   "scripts": {
@@ -8,7 +8,7 @@
   },
   "author": "",
   "license": "MIT",
-  "dependencies": {
+      "dependencies": {
     "file-system": "^2.2.2"
   }
 }