基于 CRA 和 Styled System 的 React 项目模板

这个项目通过 Create React App 创建,并集成了 Styled System。以下是可用的脚本:

  • yarn start:以开发模式运行应用程序,并在浏览器中打开。修改代码后页面会自动刷新,控制台会显示 lint 错误。
  • yarn test:启动交互式测试运行器,更多信息请参阅相关文档。
  • yarn build:构建生产环境下的应用程序,并输出到 build 文件夹。它会优化构建以获得最佳性能,并将 React 正确打包。构建文件经过压缩,并包含哈希值,可随时部署。更多信息请参阅相关文档。
  • yarn eject注意:这是一个不可逆的操作! 如果你对构建工具和配置不满意,可以使用此命令将所有配置文件和依赖项(webpack、Babel、ESLint 等)复制到项目中,以便进行自定义配置。
zip
styled-cra-system-master.zip 预估大小:24个文件
folder
styled-cra-system-master 文件夹
folder
public 文件夹
file
manifest.json 492B
file
index.html 1KB
file
robots.txt 67B
file
favicon.ico 3KB
file
logo512.png 9KB
file
logo192.png 5KB
file
yarn.lock 458KB
folder
src 文件夹
folder
utils 文件夹
file
theme.js 98B
file
index.css 278B
folder
icons 文件夹
file
box.svg 462B
folder
components 文件夹
folder
icons 文件夹
file
Box.js 540B
file
index.js 38B
file
Button.js 416B
file
Text.js 232B
file
Box.js 301B
file
index.js 124B
file
App.js 685B
file
serviceWorker.js 5KB
file
index.js 452B
file
.prettierrc 185B
file
README.md 3KB
file
.svgorc.json 44B
file
.gitignore 310B
file
package.json 879B
zip 文件大小:203.31KB