Files
cursor-byok/frontend/src/router/index.js
T
2026-08-07 01:50:20 +08:00

22 lines
573 B
JavaScript

import { createRouter, createWebHashHistory } from "vue-router";
import Home from "@/views/Home.vue";
import ModelConfig from "@/views/ModelConfig.vue";
const router = createRouter({
history: createWebHashHistory(),
routes: [
{
path: "/",
component: Home,
meta: { showIcon: true, title: "Cursor助手|永久免费|自定义API", directlyClose: false },
},
{
path: "/model-config",
component: ModelConfig,
meta: { showIcon: false, title: "模型配置", directlyClose: true },
},
],
});
export default router;