diff --git a/bookmark_front/src/router/index.js b/bookmark_front/src/router/index.js
index f5f6f9e..2cf20e6 100644
--- a/bookmark_front/src/router/index.js
+++ b/bookmark_front/src/router/index.js
@@ -2,6 +2,8 @@ import Vue from "vue";
import VueRouter from "vue-router";
import Home from "../views/Home.vue";
+import Login from "../views/public/Login.vue";
+
Vue.use(VueRouter);
const routes = [
@@ -11,12 +13,9 @@ const routes = [
component: Home
},
{
- path: "/about",
- name: "About",
- // route level code-splitting
- // this generates a separate chunk (about.[hash].js) for this route
- // which is lazy-loaded when the route is visited.
- component: () => import(/* webpackChunkName: "about" */ "../views/About.vue")
+ path: "/public/login",
+ name: "Login",
+ component: Login
}
];
diff --git a/bookmark_front/src/store/modules/count.js b/bookmark_front/src/store/modules/count.js
deleted file mode 100644
index 6d01ba2..0000000
--- a/bookmark_front/src/store/modules/count.js
+++ /dev/null
@@ -1,32 +0,0 @@
-import * as types from "../type";
-
-const state = {
- [types.COUNT]: 0
-};
-
-const getters = {};
-
-const actions = {
- asyncAdd({ commit }, data) {
- return new Promise(resolve => {
- setTimeout(() => {
- commit(types.TEST, data);
- resolve();
- }, 2000);
- });
- }
-};
-
-const mutations = {
- [types.COUNT](state1, data) {
- // eslint-disable-next-line no-param-reassign
- state1[types.COUNT] += data;
- }
-};
-
-module.exports = {
- state,
- getters,
- actions,
- mutations
-};
diff --git a/bookmark_front/src/views/Home.vue b/bookmark_front/src/views/Home.vue
index 267db67..d6d1f7a 100644
--- a/bookmark_front/src/views/Home.vue
+++ b/bookmark_front/src/views/Home.vue
@@ -1,19 +1,29 @@
- {{ count }}
+
+
+