首页
学习
活动
专区
工具
TVP
发布
社区首页 >问答首页 >我用npm rum build报错,"indexPath" is not allowed?

我用npm rum build报错,"indexPath" is not allowed?

提问于 2019-03-27 10:24:33
回答 0关注 0查看 808

Invalid options in vue.config.js: "indexPath" is not allowed

配置地址

const luOutPath = '../'

module.exports = {

baseUrl: BASE_URL,

outputDir: luOutPath + 'public/lu/dist',

indexPath: luOutPath + '../../resources/views/dashboard.blade.php',

chainWebpack: config => {

config.resolve.alias.set('@', resolve('src')). // key,value自行定义,比如.set('@@', resolve('src/components'))

set('_c', resolve('src/components')).set('_conf', resolve('config'))

},

productionSourceMap: false

}

回答

和开发者交流更多问题细节吧,去 写回答
相关文章

相似问题

相关问答用户
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档