Skip to content

Commit

Permalink
remove capital in folders
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardovanlaarhoven committed Jul 11, 2019
1 parent ba57c4b commit 160c919
Show file tree
Hide file tree
Showing 17 changed files with 14 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
</v-container>
</template>
<script>
import FormDataValues from './../mixins/formDataValues';
import FormDataValues from '../mixins/formDataValues';
export default {
components: {},
Expand Down
Original file line number Diff line number Diff line change
@@ -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},
Expand Down Expand Up @@ -34,4 +34,4 @@

<style scoped>
</style>
</style>
3 changes: 2 additions & 1 deletion generator/templates/Default/src/API.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
*
Expand Down
6 changes: 6 additions & 0 deletions generator/templates/Default/src/newmain.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) { _%>
Expand All @@ -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')
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "vue-cli-plugin-kingscode-scaffold",
"version": "0.1.5",
"version": "0.1.6",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "MIT",
"dependencies": {
"dependencies": {
"file-system": "^2.2.2"
}
}

0 comments on commit 160c919

Please sign in to comment.