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 f1d75785
authored
Jul 20, 2022
by
zhangxw
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
1
1 parent
bd3d30b5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
src/router/index.js
vue.config.js
src/router/index.js
View file @
f1d7578
...
@@ -2,7 +2,7 @@ import { createRouter, createWebHistory } from "vue-router";
...
@@ -2,7 +2,7 @@ import { createRouter, createWebHistory } from "vue-router";
import
routes
from
"./routes"
;
import
routes
from
"./routes"
;
const
router
=
createRouter
({
const
router
=
createRouter
({
history
:
createWebHistory
(
"/
miniapp
"
),
history
:
createWebHistory
(
"/"
),
routes
:
routes
.
baseRoutes
,
routes
:
routes
.
baseRoutes
,
});
});
...
...
vue.config.js
View file @
f1d7578
...
@@ -11,7 +11,7 @@ function resolve(dir) {
...
@@ -11,7 +11,7 @@ function resolve(dir) {
return
path
.
join
(
__dirname
,
"."
,
dir
);
return
path
.
join
(
__dirname
,
"."
,
dir
);
}
}
module
.
exports
=
defineConfig
({
module
.
exports
=
defineConfig
({
publicPath
:
".
/"
,
publicPath
:
process
.
env
.
NODE_ENV
===
"development"
?
"./"
:
"
/"
,
transpileDependencies
:
true
,
transpileDependencies
:
true
,
devServer
:
{
devServer
:
{
port
:
9527
,
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