多个页面共用导航栏的一种实现方式
- Dominant language
- TypeScript
- Stars
- 18.9k
- Forks
- 2.7k
- PR merge metrics
- No merged PRs in 30d
Description
#### 实现场景:
我做了几个页面,每个页面的导航栏是一样的,都是这段代码
```
"aside": [
{
"type": "nav",
"stacked": true,
"links": [
{
"label": "总览", "icon": "fa-solid fa-house",
"to": "/"
},
{
}
]
}
]
```
如何把这个导航栏独立出来,在多个页面引用?
Contributor guide
No contributing guide indexed for this repository
Research direction
The issue does not name a file, test, or entry point. Start by checking the AMIS documentation and examples for reusable page or aside configuration, then verify whether one navigation definition can be referenced across multiple pages. Done means documenting a supported approach with a complete shared-navigation example.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100