kieuminhcanh / vuetify-notifier

21 stars 2 forks source link

Nuxt 3 SSR import issue #2

Closed MJU-PSI closed 2 months ago

MJU-PSI commented 8 months ago
Nuxt 3.8.0 with Nitro 2.7.0                                                                                                                                                                                                                        11:09:03
                                                                                                                                                                                                                                                   11:09:04
  ➜ Local:    http://localhost:3000/
  ➜ Network:  use --host to expose

Debugger attached.
  ➜ DevTools: press Shift + Alt + D in the browser (v1.0.0)                                                                                                                                                                                        11:09:08

ℹ Vite client warmed up in 33833ms                                                                                                                                                                                                                11:09:43
✔ Nitro built in 6049 ms                                                                                                                                                                                                                    nitro 11:09:43
export default defineNuxtConfig({
  ssr: true,
  modules: [
    'vuetify-notifier/nuxt'
  ]
})

Following error occurs in console: [nuxt] [request error] [unhandled] [500] Package import specifier "#app" is not defined in package D:\GORA\cronos\client\node_modules\vuetify-notifier\package.json imported from D:\GORA\cronos\client\node_modules\vuetify-notifier\dist\nuxt\runtime\plugin.mjs

When using ssr: false everything is working correctly.

walmartwarlord commented 6 months ago

Repo unmaintained? :(

kieuminhcanh commented 2 months ago

Repo unmaintained? :( I'm working on it.

kieuminhcanh commented 2 months ago

Required components to use. image

MJU-PSI commented 2 months ago

Thank you!