mirror of
https://github.com/sunniejs/vue-h5-template.git
synced 2025-04-05 19:42:08 +08:00
docs: 修复 vite.config.ts 文档配置项描述错误
This commit is contained in:
parent
49c8065ce5
commit
a956d7160b
@ -3,13 +3,13 @@
|
||||
如果你的 `Vue Router` 模式是 hash
|
||||
|
||||
```javascript
|
||||
publicPath: './',
|
||||
base: './',
|
||||
```
|
||||
|
||||
如果你的 `Vue Router` 模式是 history 这里的 publicPath 和你的 `Vue Router` `base` **保持一致**
|
||||
|
||||
```javascript
|
||||
publicPath: '/app/',
|
||||
base: '/app/',
|
||||
```
|
||||
|
||||
```javascript
|
||||
|
Loading…
x
Reference in New Issue
Block a user