sbkwgh 8 rokov pred
rodič
commit
2cd90bfcbe
2 zmenil súbory, kde vykonal 20 pridanie a 1 odobranie
  1. 17 0
      src/components/routes/Admin.vue
  2. 3 1
      src/main.js

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

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

+ 3 - 1
src/main.js

@@ -9,6 +9,7 @@ import Index from './components/routes/Index'
 import Category from './components/routes/Category'
 import Thread from './components/routes/Thread'
 import ThreadNew from './components/routes/ThreadNew'
+import Admin from './components/routes/Admin'
 
 import onResize from './assets/js/flexBoxGridCorrect'
 
@@ -22,7 +23,8 @@ const router = new VueRouter({
 		{ path: '/', component: Index },
 		{ path: '/category/:category', component: Category },
 		{ path: '/thread/:slug/:id', component: Thread },
-		{ path: '/thread/new', component: ThreadNew }
+		{ path: '/thread/new', component: ThreadNew },
+		{ path: '/admin', component: Admin }
 	],
 	mode: 'history'
 })