Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
map-demo
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
Authored by
hookehuyr
2024-09-14 17:45:07 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
878fc12d43a489d70aece9e7b7c42fb60ded6dfc
878fc12d
1 parent
327b9f6b
✨ feat(新增地图主体页面):
别院甘露
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
1 deletions
src/route.js
src/views/bieyuan/map.vue
vite.config.js
src/route.js
View file @
878fc12
/*
* @Date: 2023-05-29 11:10:19
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-0
3-21 17:19:1
4
* @LastEditTime: 2024-0
9-14 14:23:5
4
* @FilePath: /map-demo/src/route.js
* @Description: 文件描述
*/
...
...
@@ -41,4 +41,11 @@ export default [
title
:
'工具地图'
,
},
},
{
path
:
'/bieyuan/map'
,
component
:
()
=>
import
(
'@/views/bieyuan/map.vue'
),
meta
:
{
title
:
'地图'
,
},
}
];
...
...
src/views/bieyuan/map.vue
0 → 100644
View file @
878fc12
This diff is collapsed. Click to expand it.
vite.config.js
View file @
878fc12
...
...
@@ -153,6 +153,12 @@ export default ({ command, mode }) => {
// mono1: path.resolve(__dirname, 'src/packages/mono1/index.html'),
// mono2: path.resolve(__dirname, 'src/packages/mono2/index.html'),
},
manualChunks
(
id
)
{
if
(
id
.
includes
(
'node_modules'
))
{
return
id
.
toString
().
split
(
'node_modules/'
)[
1
].
split
(
'/'
)[
0
].
toString
();
// return 'vendor';
}
}
},
},
optimizeDeps
:
{
...
...
Please
register
or
login
to post a comment