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;