Skip to content

Commit 4e2a40d

Browse files
committed
L5 starting
1 parent 8c6d134 commit 4e2a40d

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

.prettierrc.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
module.exports = {
2+
singleQuote: true,
3+
semi: false
4+
}

src/router/index.js

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { createRouter, createWebHistory } from 'vue-router'
2-
import EventList from '../views/EventList.vue'
2+
import EventList from '@/views/EventList.vue'
3+
import About from '@/views/About.vue'
34

45
const routes = [
56
{
@@ -10,11 +11,7 @@ const routes = [
1011
{
1112
path: '/about',
1213
name: 'About',
13-
// route level code-splitting
14-
// this generates a separate chunk (about.[hash].js) for this route
15-
// which is lazy-loaded when the route is visited.
16-
component: () =>
17-
import(/* webpackChunkName: "about" */ '../views/About.vue')
14+
component: About
1815
}
1916
]
2017

src/store/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
import { createStore } from "vuex";
1+
import { createStore } from 'vuex'
22

33
export default createStore({
44
state: {},
55
mutations: {},
66
actions: {},
77
modules: {}
8-
});
8+
})

0 commit comments

Comments
 (0)