我有一个从 create-react-app 创建的项目,并且是在 typescript 中,我想添加对自定义 react 脚本的支持而不弹出,那么最好的方法是什么。
最佳答案
凯泽尔。
通过使用此命令将此包用于 TS 中的自定义脚本
create-react-app my-app --scripts-version custom-react-scripts
顺便说一句,您要添加哪个自定义脚本
关于typescript - 在 create-react-app 中添加自定义 react 脚本的标准方法,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/65839972/