Add projects feature

This commit is contained in:
2018-08-17 01:07:26 +03:00
parent d99aa95046
commit b3a8d30bd2
12 changed files with 2515 additions and 2567 deletions

View File

@@ -1,10 +1,14 @@
import Vue from 'vue'
import Router from 'vue-router'
import Meta from 'vue-meta'
import Home from '@/components/Home'
import Projects from '@/components/Projects'
import About from '@/components/About'
import ViewProject from '@/components/ViewProject'
import ViewDocumentation from '@/components/ViewDocumentation'
Vue.use(Router)
Vue.use(Meta)
export default new Router({
routes: [
@@ -22,6 +26,16 @@ export default new Router({
path: '/about',
name: 'About',
component: About
},
{
path: '/viewproject/:project_name',
name: 'View Project',
component: ViewProject
},
{
path: '/viewdoc/:project_name',
name: 'ViewDoc',
component: ViewDocumentation
}
]
})