TencentBlueKing / TencentBlueKing/bk-lesscode

如何嵌入另外的vue项目中

Open
#830 0 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.