Skip to content

Commit 0685020

Browse files
committed
Just a little code optimization!
1 parent bd98e42 commit 0685020

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

assets/js/router-config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
// import ContentComponent from "./content.js";
21
import LoginComponent from "./login.js";
32
import ContentItemsComponent from "./content-items.js"
3+
import store from "./store/index.js";
44

55
export let routerConfig = {
66
'login': {
77
data: { route: 'login' },
88
url: 'login.html',
99
component: LoginComponent,
1010
settings: {
11-
redirect: 'content'
11+
redirect: 'content',
1212
// handleLogIn: () => store.dispatch('login')
1313
}
1414
},

0 commit comments

Comments
 (0)