# react_template **Repository Path**: li_bo123123/react_template ## Basic Information - **Project Name**: react_template - **Description**: 暂无介绍 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-12-17 - **Last Updated**: 2025-01-20 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## 文档 ⬇️ 语雀文档:https://www.yuque.com/sancunriguang-porfb/gayt1n/fdvbf787hsbgqssl 主要基于webpack包含写项目的各种插件配置,形成一体化 做一个项目 各种配置 React18 ++ sass ## start `yarn` `yarn start` ## 打包 cross-env cross-env NODE_ENV=production webpack https://www.npmjs.com/package/cross-env https://www.cnblogs.com/jiaoshou/p/12187504.html ## 文档 ⬇️ 语雀文档:https://www.yuque.com/sancunriguang-porfb/gayt1n/fdvbf787hsbgqssl ## 包 主要是在于一些库安装的包是连着的 lodash yarn add lodash yarn add @types/lodash -D https://github.com/lodash/babel-plugin-lodash ## 环境工具 env-cmd yarn add env-cmd -D https://github.com/toddbluhm/env-cmd ## 代码格式化规范化 eslint 和 prettier 和 husky https://blog.csdn.net/sinat_35349493/article/details/137454179