We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 920f648 commit 4134b20Copy full SHA for 4134b20
2 files changed
playground/app/plugins/formkit.ts
@@ -0,0 +1,8 @@
1
+import { defineNuxtPlugin } from '#app'
2
+import { UButton } from '#components'
3
+
4
+export default defineNuxtPlugin((_nuxtApp) => {
5
+ // add Button for repeater
6
7
+ _nuxtApp.vueApp.component('UButton', UButton)
8
+})
src/runtime/plugin.ts
@@ -1,7 +1,5 @@
import { defineNuxtPlugin } from '#app'
-import { UButton } from '#components'
export default defineNuxtPlugin((_nuxtApp) => {
- // add Button for repeater
- _nuxtApp.vueApp.component('UButton', UButton)
})
0 commit comments