vue.config.js 477 B

12345678910111213141516171819
  1. module.exports = {
  2. publicPath: './',
  3. productionSourceMap: false,
  4. pages: {
  5. index: {
  6. // page 的入口
  7. entry: 'src/main.js',
  8. // 模板来源
  9. template: 'public/index.html',
  10. // 在 dist/index.html 的输出
  11. filename: 'index.html',
  12. // 当使用 title 选项时,template 中的 title 标签需要是 <title><%= htmlWebpackPlugin.options.title %></title>
  13. title: '酉俊科技'
  14. }
  15. },
  16. devServer: {
  17. open: true
  18. }
  19. }