✨ (text editor) add a page for text editor
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user