vuecli3

publicPath

  • Type: string

  • Default: '/'

相对路径,是相对于index.html的相对路径。终于弄清楚了

 

outputDir

  • Type: string

  • Default: 'dist'

 

assetsDir

  • Type: string

  • Default: ''

    放置生成的静态资源 (js、css、img、fonts) 的 (相对于 outputDir 的) 目录。

 

 

 

 

indexPath

  • Type: string

  • Default: 'index.html'

    指定生成的 index.html 的输出路径 (相对于 outputDir)。也可以是一个绝对路径。

也就是说可以给index.html改名字改默认相对玉outputDir的位置。

 

 

 

 

posted on 2020-12-21 14:31  章画  阅读(61)  评论(0编辑  收藏  举报

导航