Skip to content

Commit

Permalink
feat: add nuxt-umami
Browse files Browse the repository at this point in the history
  • Loading branch information
romangg committed Oct 24, 2024
1 parent a3df2f7 commit 9894fe0
Show file tree
Hide file tree
Showing 3 changed files with 231 additions and 35 deletions.
10 changes: 10 additions & 0 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export default defineNuxtConfig({
'@nuxt/image',
'@nuxtjs/color-mode',
'@nuxtjs/sitemap',
'nuxt-umami',
],
site: {
url: 'https://manjaro.org/',
Expand All @@ -26,6 +27,15 @@ export default defineNuxtConfig({
stylistic: true,
},
},
umami: {
id: '9f30d602-fae7-4a19-a411-0a9ed75e4ddc',
host: 'https://umami.manjaro.org',
autoTrack: true,
proxy: 'cloak',
ignoreLocalhost: true,
domains: ['manjaro.org'],
// customEndpoint: '/api/getdata',
},
colorMode: {
preference: 'system',
dataValue: 'theme', // for daisyUI
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"@nuxt/image": "^1.7.0",
"@nuxtjs/sitemap": "6.0.0-beta.1",
"nuxt": "^3.11.2",
"nuxt-umami": "^3.0.2",
"vue": "^3.4.27",
"vue-router": "^4.3.2"
},
Expand Down
Loading

0 comments on commit 9894fe0

Please sign in to comment.