File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change 1
1
import { defineNuxtPlugin } from '#imports'
2
+ // FIXME: https://github.com/nuxt/module-builder/issues/141#issuecomment-2078248248
3
+ import type { } from '#app'
2
4
3
5
// Fixes `ECONNREFUSED` on Node 18: https://github.com/node-fetch/node-fetch/issues/1624#issuecomment-1407717012
4
6
export default defineNuxtPlugin ( {
Original file line number Diff line number Diff line change 1
1
import { useStrapiAuth } from '../composables/useStrapiAuth'
2
2
import { useStrapiUser } from '../composables/useStrapiUser'
3
3
import { defineNuxtPlugin } from '#imports'
4
+ // FIXME: https://github.com/nuxt/module-builder/issues/141#issuecomment-2078248248
5
+ import type { } from '#app'
4
6
5
7
export default defineNuxtPlugin ( async ( ) => {
6
8
const user = useStrapiUser ( )
You can’t perform that action at this time.
0 commit comments