ant-design / ant-design/react-tutorial

HelloWorld 文件名原因,项目启动报错

Open
#7 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
432
Forks
155
PR merge metrics
No merged PRs in 30d

Description

你好,最近正在使用该项目学习 ant-design,该项目拉下来以后没有办法直接 `cnpm run dev` 启动。

查看了一下 config/config.js 中配置的 helloworld 路由找不到对应文件:
* 配置的 `HelloWorld` 和 src/page/helloworld.js 文件没有匹配上

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by comparing the route configuration in config/config.js with src/page/helloworld.js, focusing on the HelloWorld versus helloworld name mismatch. Run cnpm run dev to reproduce the startup failure; done means the configured route resolves to the existing page and the project starts successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.