(text editor) add a page for text editor

This commit is contained in:
2021-03-16 00:42:43 +01:00
parent 9b68afa131
commit 35436ba00f
5 changed files with 118 additions and 7 deletions

View File

@@ -3,6 +3,12 @@ import { RouteRecordRaw, createRouter, createWebHistory } from 'vue-router'
import Home from '@/views/Home.vue'
const routes: Array<RouteRecordRaw> = [
{
path: '/text-editor',
name: 'TextEditor',
component: () =>
import(/* webpackChunkName: "text-editor" */ '@/views/TextEditor.vue')
},
{
path: '/:user?/:repo?',
name: 'Home',