Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
update main.js files to import app-init
  • Loading branch information
kajan committed Feb 18, 2021
1 parent cfa5301 commit acb9132
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 1 addition & 4 deletions AspNetCoreVueMpa.Web/ClientApp/views/home/index/main.js
@@ -1,10 +1,7 @@
import Vue from 'vue'
import HelloWorld from "./HelloWorld.vue";
import { BootstrapVue } from "bootstrap-vue";

Vue.use(BootstrapVue);

Vue.component('default-layout', () => import(/* webpackChunkName: "layout-container" */ '../../../components/layout/DefaultLayout.vue'));
import '../../../utils/app-init.js';

const app = new Vue({
el: '#app',
Expand Down
2 changes: 2 additions & 0 deletions AspNetCoreVueMpa.Web/ClientApp/views/student/index/main.js
@@ -1,6 +1,8 @@
import Vue from 'vue'
import StudentIndex from "./StudentIndex.vue";

import '../../../utils/app-init.js';

const app = new Vue({
el: '#app',
render: h => h(StudentIndex)
Expand Down

0 comments on commit acb9132

Please sign in to comment.