Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
areslan1122 opened this issue Feb 5, 2021 · 1 comment
Open

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

areslan1122 opened this issue Feb 5, 2021 · 1 comment

Comments

@areslan1122
Copy link

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

查看了一下 config/config.js 中配置的 helloworld 路由找不到对应文件:

  • 配置的 HelloWorld 和 src/page/helloworld.js 文件没有匹配上
@googleweb
Copy link

component:'./HelloWorld'
推测你把斜杠前面那个点给漏掉了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants