Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
angel-angel-mini-game
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
杜洋
angel-angel-mini-game
Commits
39742beb
Commit
39742beb
authored
Feb 06, 2026
by
Hantao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refactor(config): 优化自定义组件路径配置
- 在 custom 配置中添加 navBar 组件映射
parent
f2171a36
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
+2
-1
pages.json
src/pages.json
+2
-1
No files found.
src/pages.json
View file @
39742beb
...
...
@@ -5,7 +5,8 @@
"custom"
:
{
"^u--(.*)"
:
"uview-plus/components/u-$1/u-$1.vue"
,
"^up-(.*)"
:
"uview-plus/components/u-$1/u-$1.vue"
,
"^u-([^-].*)"
:
"uview-plus/components/u-$1/u-$1.vue"
"^u-([^-].*)"
:
"uview-plus/components/u-$1/u-$1.vue"
,
"^navBar$"
:
"@/components/navBar.vue"
}
},
"pages"
:
[
//pages数组中第一项表示应用启动页,参考:https
:
//uniapp.dcloud.io/collocation/pages
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment