frontend-boilerplate Type

前端样板这个仓库,简直是一个宝藏啊!它结合了打字稿React(基于 CRA)、故事书赛普拉斯,加上一些好用的工具库,比如React 测试库EslintStylelintCommitlint,还有Editorconfig,你随便拿来就能用,挺方便的。如果你喜欢做 React 项目,想要一个规范化又有良好开发体验的样板,这个简直就是为你量身定制的。它的配置比较全面,涵盖了从样式、代码规范到测试和构建,基本上你不需要自己再去调整什么配置。是Storybook,它帮你把组件展示出来,方便做文档、展示和测试,真的挺实用的。

可以说,这个样板大大提高了开发效率,避免了多踩坑。只要你按照它的结构去写,代码简洁又好维护,前后端协作也更加顺畅。如果你想要在 React 项目中整合一些常见的工具和规范,这个仓库绝对不容错过。

如果你是刚接触 React 的开发者,建议先了解一下它的结构和工具配置,是StorybookReact 测试库,这些都会让你更高效地开发。哦,对了,赛普拉斯也挺重要的,帮你做了代码质量的保障。

zip
frontend-boilerplate-master.zip 预估大小:40个文件
folder
frontend-boilerplate-master 文件夹
folder
.storybook 文件夹
folder
BeautifyStory 文件夹
file
style.ts 157B
file
index.tsx 642B
file
addons.ts 214B
file
theme-decorator.tsx 400B
file
router-decorator.tsx 222B
file
webpack.config.js 484B
file
config.ts 1KB
file
package.json 4KB
folder
cypress 文件夹
folder
plugins 文件夹
file
index.js 389B
folder
support 文件夹
file
index.js 21B
file
commands.ts 327B
file
tsconfig.json 225B
file
webpack.config.js 418B
folder
integration 文件夹
file
main.spec.ts 128B
folder
fixtures 文件夹
file
auth.json 178B
file
.eslintrc.json 1KB
file
.prettierrc 252B
file
.prettierignore 17B
file
.stylelintrc.json 240B
file
LICENSE 1KB
folder
src 文件夹
file
App.css 203B
file
react-app-env.d.ts 79B
file
App.spec.tsx 286B
file
index.tsx 146B
file
App.tsx 492B
folder
commons 文件夹
folder
style 文件夹
folder
themes 文件夹
file
default.ts 2KB
file
globalstyle.ts 915B
file
setupTests.ts 50B
file
tsconfig.json 602B
file
.gitignore 246B
file
.commitlintrc.json 53B
file
.env.template 22B
file
cypress.json 161B
folder
public 文件夹
file
manifest.json 496B
file
robots.txt 57B
file
index.html 807B
file
README.md 1KB
file
yarn.lock 653KB
file
.eslintignore 58B
file
.editorconfig 239B
zip 文件大小:264.76KB