Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
micro-customization-system
/
e-shield-h5
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 bd3d30b5
authored
Jul 20, 2022
by
zhangxw
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
1
1 parent
afde26d2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
src/router/index.js
vue.config.js
src/router/index.js
View file @
bd3d30b
import
{
createRouter
,
createWebH
ashH
istory
}
from
"vue-router"
;
import
{
createRouter
,
createWebHistory
}
from
"vue-router"
;
import
routes
from
"./routes"
;
const
router
=
createRouter
({
history
:
createWebH
ashH
istory
(
"/miniapp"
),
history
:
createWebHistory
(
"/miniapp"
),
routes
:
routes
.
baseRoutes
,
});
...
...
vue.config.js
View file @
bd3d30b
...
...
@@ -11,7 +11,7 @@ function resolve(dir) {
return
path
.
join
(
__dirname
,
"."
,
dir
);
}
module
.
exports
=
defineConfig
({
publicPath
:
"
/miniapp
"
,
publicPath
:
"
./
"
,
transpileDependencies
:
true
,
devServer
:
{
port
:
9527
,
...
...
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