build: update publicPath

This commit is contained in:
chenjiahan 2022-02-07 17:39:46 +08:00
parent b3bd3260ac
commit 5ba64ae8e1
2 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ Vant 遵循 [Semver](https://semver.org/lang/zh-CN/) 语义化版本规范。
**Feature**
- npm tag 切换为 `latest-v2` [d84d2d](https://github.com/youzan/vant/commit/d84d2d68345bb619ab2544136ca3c763611c729d)
- Vant 2 对应的 npm tag 切换为 `latest-v2` [d84d2d](https://github.com/youzan/vant/commit/d84d2d68345bb619ab2544136ca3c763611c729d)
### [v2.12.39](https://github.com/youzan/vant/compare/v2.12.38...v2.12.39)

View File

@ -3,7 +3,7 @@ module.exports = {
build: {
skipInstall: ['lazyload'],
site: {
publicPath: process.env.PUBLIC_PATH || '/vant/',
publicPath: process.env.PUBLIC_PATH || '/vant/v2',
},
vetur: {
tagPrefix: 'van-',