Browse Source

chore: 增加seo信息

nmtuan 1 year ago
parent
commit
fdad2c3d9c
1 changed files with 10 additions and 2 deletions
  1. 10 2
      nuxt.config.ts

+ 10 - 2
nuxt.config.ts

@@ -2,7 +2,7 @@
  * @Author: NMTuan
  * @Email: NMTuan@qq.com
  * @Date: 2024-02-18 11:35:10
- * @LastEditTime: 2024-02-22 12:17:25
+ * @LastEditTime: 2024-02-22 13:25:47
  * @LastEditors: NMTuan
  * @Description:
  * @FilePath: \timeNow\nuxt.config.ts
@@ -16,7 +16,15 @@ export default defineNuxtConfig({
     },
     app: {
         head: {
-            link: [{ rel: 'icon', type: 'image/png', href: '/favicon.png' }]
+            title: '压感时钟',
+            link: [{ rel: 'icon', type: 'image/png', href: '/favicon.png' }],
+            meta: [
+                {
+                    name: 'description',
+                    content:
+                        '一个有压力感可全屏显示的时钟,实时显示当前时间、当前月进度及年进度。'
+                }
+            ]
         }
     },
     ui: {