Skip to content

Commit

Permalink
feat(cli): add site favicon template (#439)
Browse files Browse the repository at this point in the history
  • Loading branch information
pengzhanbo authored Jan 21, 2025
1 parent 8b9c50b commit f81c011
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion cli/templates/.vuepress/config.ts.handlebars
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ export default defineUserConfig({
description: '{{ siteDescription }}',
{{/if}}

head: [
// 配置站点图标
['link', { rel: 'icon', type: 'image/png', href: 'https://theme-plume.vuejs.press/favicon-32x32.png' }],
],

bundler: {{ bundler }}Bundler(),
shouldPrefetch: false, // 站点较大,页面数量较多时,不建议启用

Expand Down Expand Up @@ -180,6 +185,6 @@ export default defineUserConfig({
* 加密功能
* @see https://theme-plume.vuejs.press/guide/features/encryption/
*/
encrypt: {},
// encrypt: {},
}),
})

0 comments on commit f81c011

Please sign in to comment.