Initial commit. Add application skeleton

This commit is contained in:
2019-02-16 12:29:33 +07:00
commit 03ce30468c
25 changed files with 8395 additions and 0 deletions

41
src/router.js Normal file
View File

@@ -0,0 +1,41 @@
import Vue from 'vue';
import Router from 'vue-router';
import Home from '@/views/Home';
Vue.use(Router);
export default new Router({
routes: [
{
path: '/',
name: 'home',
component: Home
},
{
path: '/articles',
name: 'articles',
component: () => import(/* webpackChunkName: "articles" */ '@/views/Articles.vue'),
},
{
path: '/words',
name: 'words',
component: () => import(/* webpackChunkName: "words" */ '@/views/Words.vue'),
},
{
path: '/profile',
name: 'profile',
component: () => import(/* webpackChunkName: "words" */ '@/views/Profile.vue'),
},
{
path: '/sign_in',
name: 'signIn',
component: () => import(/* webpackChunkName: "sign_in" */ '@/views/SignIn.vue'),
},
{
path: '/sign_up',
name: 'signUp',
component: () => import(/* webpackChunkName: "sign_up" */ '@/views/SignUp.vue'),
},
],
mode: 'history',
});