Skip to content

Commit acb9132

Browse files
author
kajan
committed
update main.js files to import app-init
1 parent cfa5301 commit acb9132

File tree

2 files changed

+3
-4
lines changed
  • AspNetCoreVueMpa.Web/ClientApp/views

2 files changed

+3
-4
lines changed

AspNetCoreVueMpa.Web/ClientApp/views/home/index/main.js

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
import Vue from 'vue'
22
import HelloWorld from "./HelloWorld.vue";
3-
import { BootstrapVue } from "bootstrap-vue";
43

5-
Vue.use(BootstrapVue);
6-
7-
Vue.component('default-layout', () => import(/* webpackChunkName: "layout-container" */ '../../../components/layout/DefaultLayout.vue'));
4+
import '../../../utils/app-init.js';
85

96
const app = new Vue({
107
el: '#app',

AspNetCoreVueMpa.Web/ClientApp/views/student/index/main.js

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import Vue from 'vue'
22
import StudentIndex from "./StudentIndex.vue";
33

4+
import '../../../utils/app-init.js';
5+
46
const app = new Vue({
57
el: '#app',
68
render: h => h(StudentIndex)

0 commit comments

Comments
 (0)