docs: 修复 vite.config.ts 文档配置项描述错误

This commit is contained in:
Libon 2024-09-29 14:12:53 +08:00 committed by GitHub
parent 49c8065ce5
commit a956d7160b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3,13 +3,13 @@
如果你的 `Vue Router` 模式是 hash
```javascript
publicPath: './',
base: './',
```
如果你的 `Vue Router` 模式是 history 这里的 publicPath 和你的 `Vue Router` `base` **保持一致**
```javascript
publicPath: '/app/',
base: '/app/',
```
```javascript