- 将所有图片路径从绝对路径改为使用 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>
12 lines
539 B
Markdown
12 lines
539 B
Markdown
# `react-error-overlay`
|
|
|
|
`react-error-overlay` is an overlay which displays when there is a runtime error.
|
|
|
|
## Development
|
|
|
|
When developing within this package, make sure you run `npm start` (or `yarn start`) so that the files are compiled as you work.
|
|
This is run in watch mode by default.
|
|
|
|
If you would like to build this for production, run `npm run build:prod` (or `yarn build:prod`).<br>
|
|
If you would like to build this one-off for development, you can run `NODE_ENV=development npm run build` (or `NODE_ENV=development yarn build`).
|