[代码完善](v2.5): v2.5 代码优化
增加对 hash 模式的支持,hash 模式的部署方式文档已更新
This commit is contained in:
@@ -11,6 +11,8 @@ const port = 8013 // 端口配置
|
||||
|
||||
// All configuration item explanations can be find in https://cli.vuejs.org/config/
|
||||
module.exports = {
|
||||
// hash 模式下可使用
|
||||
// publicPath: process.env.NODE_ENV === 'development' ? '/' : './',
|
||||
publicPath: '/',
|
||||
outputDir: 'dist',
|
||||
assetsDir: 'static',
|
||||
|
||||
Reference in New Issue
Block a user