• This project
    • Loading...
  • Sign in

Hooke / tswj

Itomix
Go to a project
Toggle navigation Toggle navigation pinning
  • Projects
  • Groups
  • Snippets
  • Help
  • Project
  • Activity
  • Repository
  • Pipelines
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • Snippets
  • Network
  • Create a new issue
  • Builds
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • tswj
  • src
  • packages
  • mono2
  • router.js
  • hookehuyr's avatar
    vite多页面配置 · 8ceea18e
    8ceea18e
    hookehuyr authored 2022-05-20 13:08:22 +0800
router.js 292 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14
import { createRouter, createWebHashHistory } from 'vue-router';

const router = createRouter({
  history: createWebHashHistory('/index.html'),
  routes: [
    {
      path: '/',
      name: 'mono2',
      component: () => import('./views/index.vue'),
    },
  ],
});

export default router;