File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
<template >
2
2
<div >Nuxt 3 UTM module playground!</div >
3
- <pre >{{ $utmData }}</pre >
3
+ <pre >{{ $utm }}</pre >
4
4
</template >
5
5
6
6
<script setup>
7
7
import { useNuxtApp } from " nuxt/app" ;
8
8
9
- const { $utmData } = useNuxtApp ();
9
+ const { $utm } = useNuxtApp ();
10
10
</script >
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ export default defineNuxtPlugin((nuxtApp) => {
50
50
51
51
return {
52
52
provide : {
53
- utmData : data ,
53
+ utm : data ,
54
54
} ,
55
55
} ;
56
56
} ) ;
Original file line number Diff line number Diff line change 1
1
<template >
2
2
<div >
3
3
<h1 >UTM Tracker</h1 >
4
- <pre >{{ $utmData }}</pre >
4
+ <pre >{{ $utm }}</pre >
5
5
</div >
6
6
</template >
7
7
8
8
<script setup>
9
9
import { useNuxtApp } from " nuxt/app" ;
10
10
11
- const { $utmData } = useNuxtApp ();
11
+ const { $utm } = useNuxtApp ();
12
12
</script >
You can’t perform that action at this time.
0 commit comments