File tree Expand file tree Collapse file tree 2 files changed +1
-15
lines changed Expand file tree Collapse file tree 2 files changed +1
-15
lines changed Original file line number Diff line number Diff line change @@ -52142,18 +52142,10 @@ window.Vue = __webpack_require__(/*! vue */ "./node_modules/vue/dist/vue.common.
5214252142Vue.use(vue_router__WEBPACK_IMPORTED_MODULE_0__["default"]);
5214352143
5214452144
52145- /*const routes =[
52146- { path: '/', component: ExampleComponent},
52147- { path: '/user', component: User }
52148- ]*/
52149-
5215052145var router = new vue_router__WEBPACK_IMPORTED_MODULE_0__["default"]({
5215152146 mode: 'history',
5215252147 base: __dirname,
52153- routes: [
52154- /*{ path: '/', component: ExampleComponent },
52155- { path: '/user', component: User }*/
52156- {
52148+ routes: [{
5215752149 path: '/',
5215852150 components: {
5215952151 "default": _components_ExampleComponent__WEBPACK_IMPORTED_MODULE_1__["default"],
Original file line number Diff line number Diff line change @@ -7,17 +7,11 @@ Vue.use(VueRouter);
77
88import ExampleComponent from "./components/ExampleComponent" ;
99import User from "./components/User" ;
10- /*const routes =[
11- { path: '/', component: ExampleComponent},
12- { path: '/user', component: User }
13- ]*/
1410
1511const router = new VueRouter ( {
1612 mode : 'history' ,
1713 base : __dirname ,
1814 routes : [
19- /*{ path: '/', component: ExampleComponent },
20- { path: '/user', component: User }*/
2115 {
2216 path : '/' ,
2317 components :{
You can’t perform that action at this time.
0 commit comments