主题
选项配置
publicPath
- Type:
string
- Default:
'/'
提示
在 Vue CLI 3.3 之前使用 baseUrl
部署应用包时的基本 URL。
outputDir
- Type:
string
- Default:
'dist'
当运行 vue-cli-service build
时生成的生产环境构建文件的目录。
提示
请始终使用 outputDir 而不要修改 webpack 的 output.path。
assetsDir
- Type:
string
- Default:
''
放置生成的静态资源 (js、css、img、fonts) 的 (相对于 outputDir
的) 目录。
indexPath
- Type:
string
- Default:
'index.html'
指定生成的 index.html 的输出路径 (相对于 outputDir
)。也可以是一个绝对路径。