Skip to content

react 项目配置问题 #161

Answered by v1xingyue
v1xingyue asked this question in Q&A
Discussion options

You must be logged in to vote

create-react-app 创建的程序称之为cra 应用程序。 大部分的配置都使用默认配置不方便修改。
鉴于我们的应用程序会修改 webpack 和其他相关配置。
如果 你要使用 cra 创建应用程序,那么建议使用 craco 完成对应资源的覆盖。

具体可以参考这个视频: https://www.youtube.com/watch?v=vTa4eBYecFU

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by leeduckgo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant