Skip to content

Commit

Permalink
refactor(playground): use composable
Browse files Browse the repository at this point in the history
  • Loading branch information
hakenprog committed Sep 24, 2024
1 parent fcaaf14 commit 1bdc32e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions playground/app.vue
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<template>
<div>Nuxt 3 UTM module playground!</div>
<pre>{{ $utm }}</pre>
<pre>{{ utm }}</pre>
</template>

<script setup>
import { useNuxtApp } from "nuxt/app";
import { useNuxtUTM } from '#imports';
const { $utm } = useNuxtApp();
const utm = useNuxtUTM();
</script>

0 comments on commit 1bdc32e

Please sign in to comment.