TencentBlueKing / TencentBlueKing/bk-lesscode
如何嵌入另外的vue项目中
Open
Nobody has claimed this yet.
to be discussed
Todo
- Dominant language
- JavaScript
- Stars
- 63
- Forks
- 70
- PR merge metrics
- No merged PRs in 30d
Description
通过/preview/project接口获取到页面信息后创建vue对象,页面不能正常渲染
allRoutes 中
children: [...routes, ...noRoutePages]
与预览页内容一致。
vue2.5
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue in a Vue 2.5 project using the /preview/project response to create the Vue instance. Compare the embedded project's allRoutes children, including routes and noRoutePages, with the preview page. Done means the page renders normally in the separately embedded Vue project.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100