Skip to content

Commit

Permalink
fix(cli/config/dev): Fixed the title
Browse files Browse the repository at this point in the history
 configuration . now it's a string value
  • Loading branch information
ahqrt authored and BeADre committed May 28, 2021
1 parent 07fdd24 commit fe54e48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/varlet-cli/src/config/webpack.dev.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export function createHtmlPluginOptions(type: 'pc' | 'mobile') {
},
hash: true,
chunks: [type],
title: get(varletConfig, `${type}.title`),
title: get(varletConfig, `${type}.title['zh-CN']`),
logo: get(varletConfig, `${type}.logo`),
description: get(varletConfig, `${type}.description`),
}
Expand Down

0 comments on commit fe54e48

Please sign in to comment.