Explorar o código

Add start page

sbkwgh %!s(int64=8) %!d(string=hai) anos
pai
achega
015181d649
Modificáronse 2 ficheiros con 19 adicións e 0 borrados
  1. 17 0
      src/components/routes/Start.vue
  2. 2 0
      src/main.js

+ 17 - 0
src/components/routes/Start.vue

@@ -0,0 +1,17 @@
+<template>
+	<div class='route_container'>
+	</div>
+</template>
+
+<script>
+	export default {
+		name: 'start',
+		components: {},
+		computed: {},
+		methods: {}
+	}
+</script>
+
+<style lang='scss' scoped>
+	@import '../../assets/scss/variables.scss';
+</style>

+ 2 - 0
src/main.js

@@ -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 },