chore: import Local-Cursor v1.1.8 source snapshot
Includes the current working directory changes. Historical commits and release binaries are excluded to limit Gitea storage. Source base: d7515973fbfd6dd2001fa156c483455b8081c7cb
This commit is contained in:
33
frontend/src/router/index.js
Normal file
33
frontend/src/router/index.js
Normal file
@@ -0,0 +1,33 @@
|
||||
import { createRouter, createWebHashHistory } from "vue-router";
|
||||
import Home from "@/views/Home.vue";
|
||||
import ModelConfig from "@/views/ModelConfig.vue";
|
||||
import ModelEditor from "@/views/ModelEditor.vue";
|
||||
import Skills from "@/views/Skills.vue";
|
||||
|
||||
const router = createRouter({
|
||||
history: createWebHashHistory(),
|
||||
routes: [
|
||||
{
|
||||
path: "/",
|
||||
component: Home,
|
||||
meta: { showIcon: true, title: "Local-Cursor", directlyClose: false },
|
||||
},
|
||||
{
|
||||
path: "/model-config",
|
||||
component: ModelConfig,
|
||||
meta: { showIcon: false, title: "模型配置", directlyClose: true },
|
||||
},
|
||||
{
|
||||
path: "/model-editor",
|
||||
component: ModelEditor,
|
||||
meta: { showIcon: false, title: "模型编辑", directlyClose: true },
|
||||
},
|
||||
{
|
||||
path: "/skills",
|
||||
component: Skills,
|
||||
meta: { showIcon: false, title: "Skill 管理", directlyClose: true },
|
||||
},
|
||||
],
|
||||
});
|
||||
|
||||
export default router;
|
||||
Reference in New Issue
Block a user