当前位置:   article > 正文

【tsconfig.json】配置文件tsconfig.json中找不到任何输入_文件未包括在任何 tsconfig.json 中

文件未包括在任何 tsconfig.json 中

Getting Started with c-create-react-app

通过c-create-react-app可以自动配置webpack

简介:

脚手架模板:

github地址,欢迎点star

c-create-react-app是一个更全面的react脚手架,相较于传统的creact-react-app,还集成了typescript、eslint、pritter、commitizen、husky,将开发者从繁琐的配置之中解脱出来,并且方便开发者基于此进行二次开发。

安装:

npm install c-create-react-app -g
  • 1

使用:

c-create-react-app create yourProject
  • 1

yourProject代表你项目的名称。之后c-create-react-app会自动下载脚手架,自动下载依赖包和启动脚手架。

之后会自动打开 http://localhost:3000 在你的浏览器。

其他命令

启动:

npm run serve
  • 1

打包:

npm run build
  • 1

eslint检测:

npm run lint
  • 1

eslint修复:

npm run lint_fix
  • 1

git 提交和发布:

git cz
  • 1
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/你好赵伟/article/detail/390191
推荐阅读
相关标签
  

闽ICP备14008679号