Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
xqz
/
dianDemo
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
0eb93784
authored
2019-06-06 10:52:24 +0800
by
406803045
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
babel
1 parent
472d602c
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 @
0eb9378
...
...
@@ -15,7 +15,7 @@ export const constantRoutes = [
const
createRouter
=
()
=>
new
Router
({
mode
:
'history'
,
// require service support
base
:
'/
vueapp
/'
,
base
:
'/
antpublic
/'
,
scrollBehavior
:
()
=>
({
y
:
0
}),
routes
:
constantRoutes
})
...
...
vue.config.js
View file @
0eb9378
...
...
@@ -37,7 +37,7 @@ const cdn = {
}
}
module
.
exports
=
{
publicPath
:
process
.
env
.
NODE_ENV
===
'development'
?
'/'
:
'/
vueapp
/'
,
publicPath
:
process
.
env
.
NODE_ENV
===
'development'
?
'/'
:
'/
antpublic
/'
,
outputDir
:
'dist'
,
assetsDir
:
'static'
,
lintOnSave
:
process
.
env
.
NODE_ENV
===
'development'
,
...
...
@@ -57,7 +57,7 @@ module.exports = {
// externals里的模块不打包
Object
.
assign
(
config
,
{
name
:
name
,
entry
:[
"@babel/polyfill"
,
"./src/main.js"
],
//
entry:["@babel/polyfill", "./src/main.js"],
externals
:
externals
})
}
...
...
Write
Preview
Styling with
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