Skip to content
This repository was archived by the owner on Nov 5, 2023. It is now read-only.

Commit 0081b46

Browse files
committed
Update title and add GTAG for showcase
1 parent 6ae325e commit 0081b46

File tree

4 files changed

+27
-2
lines changed

4 files changed

+27
-2
lines changed

.playground/app.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
22
<Head>
3-
<Title>d0rich • Nuxt design system</Title>
3+
<Title>🎨 d0rich design system</Title>
44
</Head>
55
<NuxtPage />
66
<CustomFooter class="dark text-white" />

.playground/plugins/gtag.client.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import VueGtag from 'vue-gtag'
2+
3+
export default defineNuxtPlugin((nuxtApp) => {
4+
nuxtApp.vueApp.use(VueGtag, {
5+
config: { id: 'G-3G7GHT72K3' }
6+
})
7+
})

package-lock.json

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

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
"prettier": "^2.8.4",
4949
"typescript": "^5.0.2",
5050
"vitest": "^0.29.7",
51+
"vue-gtag": "^2.0.1",
5152
"vue-tsc": "^1.2.0"
5253
},
5354
"dependencies": {
@@ -56,7 +57,7 @@
5657
"@nuxtjs/tailwindcss": "^6.6.0",
5758
"@tailwindcss/typography": "^0.5.8",
5859
"nuxt-icon": "^0.3.2",
59-
"gsap": "npm:@gsap/shockingly@^3.11.5"
60+
"gsap": "^3.11.5"
6061
},
6162
"optionalDependencies": {
6263
"gsap": "^3.11.5"

0 commit comments

Comments
 (0)