Skip to content
  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in

蒋秀川 / miniProject

Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Settings
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Switch branch/tag
  • miniProject
  • h5
  • src
  • router
  • index.js
  • 陈岩's avatar
    feat: 增加热力图 · 86878dfb
    陈岩 committed May 29, 2025
    86878dfb Browse Files
index.js 413 Bytes
RawBlameHistoryPermalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
import { createRouter, createWebHistory } from "vue-router";

// 示例路由配置
const routes = [
  {
    path: "/",
    name: "Video",
    component: () => import("@/views/video/index.vue"),
  },
  {
    path: "/heatMap",
    name: "HeatMap",
    component: () => import("@/views/heatMap/index.vue"),
  },
];

const router = createRouter({
  history: createWebHistory(),
  routes,
});

export default router;