mirror of
https://github.com/xsf0105/vue3-h5-template.git
synced 2025-05-01 15:46:39 +08:00
Update README.md
This commit is contained in:
parent
8b69bc5ab0
commit
7bb242a3c8
@ -90,9 +90,9 @@ const app = new Vue({
|
|||||||
// 现在,应用已经启动了!
|
// 现在,应用已经启动了!
|
||||||
```
|
```
|
||||||
|
|
||||||
### 生成环境要注意的地方:
|
### 生产环境要注意的地方:
|
||||||
|
|
||||||
> 1、生成环境下若项目不是放在服务器的根目录下会访问不到静态资源,此时,你只需要修改下config文件夹内index.js的build中的assetsPublicPath即可
|
> 1、生产环境下若项目不是放在服务器的根目录下会访问不到静态资源,此时,你只需要修改下config文件夹内index.js的build中的assetsPublicPath即可
|
||||||
|
|
||||||
```
|
```
|
||||||
before:
|
before:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user