We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4913763 commit 9454be2Copy full SHA for 9454be2
1 file changed
generator/templates/Default/src/main.js
@@ -0,0 +1,23 @@
1
+import '@babel/polyfill'
2
+import Vue from 'vue'
3
+import API from './API.js';
4
+import './plugins/vuetify'
5
+import VuetifyResource from '@kingscode/vuetify-resource';
6
+import App from './App.vue'
7
+import router from './router'
8
+<%_ if (options.useAuthorisation) { _%>
9
+import store from './store/store.js'
10
+<%_ } _%>
11
+import './registerServiceWorker'
12
+
13
+Vue.prototype.$http = API;
14
+window.$http = API;
15
+Vue.use(VuetifyResource);
16
17
+Vue.config.productionTip = false
18
19
+new Vue({
20
+ router,
21
+ store,
22
+ render: h => h(App)
23
+}).$mount('#app')
0 commit comments