Skip to content

Commit

Permalink
Merge pull request #20 from miracleonyenma/v3
Browse files Browse the repository at this point in the history
updates: add umami analytics
  • Loading branch information
miracleonyenma committed Jun 17, 2023
2 parents 4ff5182 + 1e15ef3 commit 26044aa
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 12 deletions.
5 changes: 5 additions & 0 deletions app.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
export default defineAppConfig({
umami: {
version: 2,
},
});
1 change: 1 addition & 0 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,5 @@ export default defineNuxtConfig({
// dir: "assets/img",
// },
modules: ["@nuxt/content", "@vueuse/motion/nuxt", "@nuxt/image-edge"],
extends: ["nuxt-umami"],
});
42 changes: 30 additions & 12 deletions package-lock.json

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

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"@nuxt/content": "^2.6.0",
"@phosphor-icons/vue": "^2.1.4",
"@vueuse/motion": "^2.0.0-beta.29",
"nuxt-umami": "^2.4.3",
"query-string": "^8.1.0",
"reading-time": "^1.5.0",
"request": "^2.88.2",
Expand Down
1 change: 1 addition & 0 deletions pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ console.log({
:key="link.name"
class="link-item"
:style="{ transitionDuration: (index + 1) * 0.5 + 's' }"
@pointerover=""
>
<NuxtLink
:to="link.url"
Expand Down

0 comments on commit 26044aa

Please sign in to comment.