首先在根目录创建这个文件:
vue.config.js
然后输入一下内容
module.exports = {
publicPath: './',
outputDir: 'dist',
assetsDir: 'static',
indexPath: 'index.html'
}
之后npm run build
就可以了
首先在根目录创建这个文件:
vue.config.js
然后输入一下内容
module.exports = {
publicPath: './',
outputDir: 'dist',
assetsDir: 'static',
indexPath: 'index.html'
}
之后npm run build
就可以了
生命不息,折腾不止
303
文章数7
评论数0天
运行天数| 日 | 一 | 二 | 三 | 四 | 五 | 六 |
|---|---|---|---|---|---|---|
| 1 | ||||||
| 2 | 3 | 4 | 5 | 6 | 7 | 8 |
| 9 | 10 | 11 | 12 | 13 | 14 | 15 |
| 16 | 17 | 18 | 19 | 20 | 21 | 22 |
| 23 | 24 | 25 | 26 | 27 | 28 | 29 |
| 30 |
最新回复