feat(cli): add message and about views

This commit is contained in:
Tim
2025-07-03 14:35:46 +08:00
parent 9cfb359652
commit 0caed0187f
4 changed files with 55 additions and 9 deletions

View File

@@ -1,11 +1,23 @@
import { createRouter, createWebHistory } from 'vue-router'
import HomePageView from '../views/HomePageView.vue'
import MessagePageView from '../views/MessagePageView.vue'
import AboutPageView from '../views/AboutPageView.vue'
const routes = [
{
path: '/',
name: 'home',
component: HomePageView
},
{
path: '/message',
name: 'message',
component: MessagePageView
},
{
path: '/about',
name: 'about',
component: AboutPageView
}
]