Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
h5
/
vite-integral
This project
Loading...
Sign in
Toggle navigation
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
Commit 3474b3ff
authored
Aug 22, 2022
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改路由
1 parent
c9542946
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
src/router/index.ts
src/router/index.ts
View file @
3474b3f
import
{
createRouter
,
createWebHashHistory
}
from
'vue-router'
import
{
createRouter
,
createWebHashHistory
}
from
'vue-router'
import
type
{
App
}
from
'vue'
import
type
{
App
}
from
'vue'
import
routes
from
'./routes'
import
routes
from
'./routes'
const
routerHistory
=
createWebHashHistory
()
const
routerHistory
=
createWebHashHistory
(
'./'
)
// createWebHashHistory hash 路由
// createWebHashHistory hash 路由
// createWebHistory history 路由
// createWebHistory history 路由
// createMemoryHistory 带缓存history路由
// createMemoryHistory 带缓存history路由
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment