|
@@ -6,6 +6,7 @@ import App from './App'
|
|
|
import store from './store/index'
|
|
|
|
|
|
import Index from './components/routes/Index'
|
|
|
+import Start from './components/routes/Start'
|
|
|
import Category from './components/routes/Category'
|
|
|
import Thread from './components/routes/Thread'
|
|
|
import ThreadNew from './components/routes/ThreadNew'
|
|
@@ -24,6 +25,7 @@ Vue.use(Vuex)
|
|
|
const router = new VueRouter({
|
|
|
routes: [
|
|
|
{ path: '/', component: Index },
|
|
|
+ { path: '/start', component: Start },
|
|
|
{ path: '/category/:category', component: Category },
|
|
|
{ path: '/thread/:slug/:id', component: Thread },
|
|
|
{ path: '/thread/new', component: ThreadNew },
|