diff --git a/playground/app.vue b/playground/app.vue
index 68d8098..40d5e4b 100644
--- a/playground/app.vue
+++ b/playground/app.vue
@@ -1,18 +1,15 @@
@@ -66,7 +87,7 @@ async function copyToClipboard(text: string) {
View available icons
here 1"
:key="index"
- @click="copyToClipboard(icon)"
+ @click="useCopy(icon)"
>
@@ -94,7 +115,7 @@ async function copyToClipboard(text: string) {
v-else-if="
typeof displayedIcons === 'object' && displayedIcons.length === 1
"
- @click="copyToClipboard(displayedIcons[0])"
+ @click="useCopy(displayedIcons[0])"
>
diff --git a/playground/nuxt.config.ts b/playground/nuxt.config.ts
index 833be94..ad6eba2 100644
--- a/playground/nuxt.config.ts
+++ b/playground/nuxt.config.ts
@@ -10,18 +10,17 @@ export default defineNuxtConfig({
},
modules: [
"../src/module",
- "notivue/nuxt",
"@formkit/auto-animate",
- "@nuxtjs/tailwindcss",
"@nuxtjs/google-fonts",
+ "@nuxtjs/tailwindcss",
"@vueuse/nuxt",
+ "notivue/nuxt",
],
notivue: {
position: "bottom-center",
},
phosphor: {
expose: true,
- prefix: "nuxt-icon",
showList: true,
},
tailwindcss: {
diff --git a/playground/package.json b/playground/package.json
index 85f743f..bb42e99 100644
--- a/playground/package.json
+++ b/playground/package.json
@@ -11,13 +11,13 @@
"devDependencies": {
"@formkit/auto-animate": "^0.8.1",
"@nuxtjs/google-fonts": "^3.1.3",
- "@nuxtjs/tailwindcss": "^6.11.1",
- "nuxt": "^3.9.3"
+ "@nuxtjs/tailwindcss": "^6.11.2",
+ "@vueuse/core": "^10.7.2",
+ "@vueuse/nuxt": "^10.7.2",
+ "nuxt": "^3.10.0"
},
"dependencies": {
"@bobthered/tailwindcss-palette-generator": "^3.2.3",
- "@vueuse/core": "^10.7.2",
- "@vueuse/nuxt": "^10.7.2",
"notivue": "^2.2.0"
}
}