feat(cli): add site favicon template (#439)

This commit is contained in:
pengzhanbo 2025-01-21 11:59:30 +08:00 committed by GitHub
parent 8b9c50b0fe
commit f81c011e6a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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, // 站点较大,页面数量较多时,不建议启用
@ -180,6 +185,6 @@ export default defineUserConfig({
* 加密功能
* @see https://theme-plume.vuejs.press/guide/features/encryption/
*/
encrypt: {},
// encrypt: {},
}),
})