web/frpc: upgrade vue and element-plus (#3322)

This commit is contained in:
fatedier
2023-02-20 23:52:55 +08:00
committed by GitHub
parent 24f0b3afa5
commit fe8374e99b
36 changed files with 2910 additions and 5801 deletions

View File

@@ -1,18 +0,0 @@
import Vue from 'vue'
import Router from 'vue-router'
import Overview from '../components/Overview.vue'
import Configure from '../components/Configure.vue'
Vue.use(Router)
export default new Router({
routes: [{
path: '/',
name: 'Overview',
component: Overview
},{
path: '/configure',
name: 'Configure',
component: Configure,
}]
})

View File

@@ -0,0 +1,21 @@
import { createRouter, createWebHashHistory } from "vue-router";
import Overview from "../components/Overview.vue";
import ClientConfigure from "../components/ClientConfigure.vue";
const router = createRouter({
history: createWebHashHistory(),
routes: [
{
path: "/",
name: "Overview",
component: Overview,
},
{
path: "/configure",
name: "ClientConfigure",
component: ClientConfigure,
},
],
});
export default router;