Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.8k views
in Technique[技术] by (71.8m points)

taro 3.0.2 提示: 缺少 app 全局配置,请检查! 是怎么回事?

从2.2.6 升级过来的,运行后就提醒这个,project.config.json 又不是没有。
这个全局配置,不就是这个文件吗?

为什么会出现这个错误提示?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

3.0.2 版本需要把全局配置信息写到 app.config.ts 文件中,而不是直接写在app.tsx 文件中。


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...