使用create react app脚手架创建react项目:. yarn global add create-react-app (亦可用npm 全局安装) ... 然后yarn add --dev @types/webpack-env 即可使用。
確定! 回上一頁