Skip to content

Commit d35cfe4

Browse files
committed
feat: add Umami analytics
1 parent 8aa8d27 commit d35cfe4

File tree

4 files changed

+66
-0
lines changed

4 files changed

+66
-0
lines changed

app.config.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
export default defineAppConfig({
2+
umami: {
3+
host: 'https://stats.lamanufactu.re',
4+
id: 'b44384cc-b5b2-4422-b8bb-012b18e852ee',
5+
ignoreLocalhost: true,
6+
version: 2
7+
}
8+
})

nuxt.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// https://nuxt.com/docs/api/configuration/nuxt-config
22
export default defineNuxtConfig({
3+
extends: ['nuxt-umami'],
34
build: {
45
transpile: ['primevue']
56
},

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
"typescript": "5.0.4"
2929
},
3030
"dependencies": {
31+
"nuxt-umami": "^2.4.2",
3132
"primeflex": "3.3.0",
3233
"primeicons": "6.0.1",
3334
"primevue": "3.29.1"

pnpm-lock.yaml

Lines changed: 56 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)