Skip to content

Commit

Permalink
feat: 添加 Microsoft Clarity 统计代码
Browse files Browse the repository at this point in the history
  • Loading branch information
baiwumm committed Jun 24, 2024
1 parent bae0c54 commit 652862b
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default defineNuxtConfig({
// 源目录
srcDir: 'src/',
// 引入模块
modules: ['@nuxt/image', 'nuxt-icons', '@nuxtjs/supabase', '@nuxtjs/tailwindcss', '@element-plus/nuxt', '@nuxtjs/color-mode', 'nuxt-icon'],
modules: ['@nuxt/image', 'nuxt-icons', '@nuxtjs/supabase', '@nuxtjs/tailwindcss', '@element-plus/nuxt', '@nuxtjs/color-mode', 'nuxt-icon', 'nuxt-clarity-analytics'],
supabase: {
redirectOptions: {
login: '/login',
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
"eslint": "^8.57.0",
"husky": "^9.0.11",
"lint-staged": "^15.2.2",
"nuxt-clarity-analytics": "^0.0.6",
"nuxt-icon": "^0.6.10",
"nuxt-icons": "^3.2.1",
"prettier": "^3.2.5",
Expand Down
14 changes: 14 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 652862b

Please sign in to comment.