- 将所有图片路径从绝对路径改为使用 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>
34 lines
412 B
Markdown
34 lines
412 B
Markdown
# unquote
|
|
|
|
Remove wrapping quotes from a string. Returns an empty string if the first arg is falsey.
|
|
|
|
## Installation
|
|
|
|
```
|
|
npm install unquote
|
|
```
|
|
|
|
|
|
## Usage
|
|
|
|
Example
|
|
```js
|
|
var unquote = require('unquote')
|
|
|
|
unquote('"hello, world"') // 'hello, world'
|
|
unquote('\'hello, world\'') // 'hello, world'
|
|
```
|
|
|
|
|
|
## Running Tests
|
|
|
|
```
|
|
npm test
|
|
```
|
|
|
|
## License
|
|
|
|
([The MIT License](LICENSE))
|
|
|
|
Copyright 2017 Cameron Lakenen
|