- 将所有图片路径从绝对路径改为使用 process.env.PUBLIC_URL - 修复 HomePage.tsx 中所有图片引用 - 修复 CoursePage.tsx 中所有图片引用 - 确保图片在 GitHub Pages 上正确加载 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
38 lines
605 B
INI
38 lines
605 B
INI
root = true
|
|
|
|
[*]
|
|
indent_style = space
|
|
indent_size = 2
|
|
end_of_line = lf
|
|
charset = utf-8
|
|
trim_trailing_whitespace = true
|
|
insert_final_newline = true
|
|
max_line_length = 200
|
|
|
|
[*.js]
|
|
block_comment_start = /*
|
|
block_comment = *
|
|
block_comment_end = */
|
|
|
|
[*.yml]
|
|
indent_size = 1
|
|
|
|
[package.json]
|
|
indent_style = tab
|
|
|
|
[lib/core.json]
|
|
indent_style = tab
|
|
|
|
[CHANGELOG.md]
|
|
indent_style = space
|
|
indent_size = 2
|
|
|
|
[{*.json,Makefile}]
|
|
max_line_length = off
|
|
|
|
[test/{dotdot,resolver,module_dir,multirepo,node_path,pathfilter,precedence}/**/*]
|
|
indent_style = off
|
|
indent_size = off
|
|
max_line_length = off
|
|
insert_final_newline = off
|