mirror of
https://wget.la/https://github.com/leookun/cursor-byok
synced 2026-08-18 03:57:06 +08:00
22 lines
573 B
JavaScript
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;
|