apply in prod

This commit is contained in:
xsf 2016-12-23 17:07:41 +08:00
parent ffd8161265
commit bb698d841d

View File

@ -97,16 +97,19 @@ const app = new Vue({
```
before
assetsPublicPath: '/',
```
```
after:
assetsPublicPath: '/wx/otherPath/static',
```
> 2、在写静态资源的时候最好使用相对路径
```
error:
background: url(../assets/img/icon.png);
```
```
right:
background: url(./../assets/img/icon.png);
```