Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nuxt 3 & vue loading overlay 6 #111

Closed
Ischafak opened this issue Nov 2, 2022 · 5 comments
Closed

Nuxt 3 & vue loading overlay 6 #111

Ischafak opened this issue Nov 2, 2022 · 5 comments
Assignees

Comments

@Ischafak
Copy link

Ischafak commented Nov 2, 2022

Hi, when i try to add this component to nuxt i am facing with a problem.

Cannot read properties of undefined (reading '_c')

vue-loading-overlay": "^6.0", this is my version

import Loading from 'vue-loading-overlay';
import 'vue-loading-overlay/dist/css/index.css';


export default defineNuxtPlugin((nuxtApp) => {
  nuxtApp.vueApp.component('loading', Loading)
})

Is there any possibility to use this component with nuxt3

@ankurk91
Copy link
Owner

ankurk91 commented Nov 2, 2022

I will check the compatibility tomorrow and post back here

@ankurk91 ankurk91 changed the title Nuxt 3 & vueloadingoverlay Nuxt 3 & vue loading overlay 6 Nov 2, 2022
@Ischafak
Copy link
Author

Ischafak commented Nov 3, 2022

i will be very happy if there is a solution

@ankurk91 ankurk91 self-assigned this Nov 3, 2022
@ankurk91
Copy link
Owner

ankurk91 commented Nov 4, 2022

I could not reproduce this issue on fresh Nuxt 3.0.0-rc.12

@ankurk91 ankurk91 closed this as completed Nov 4, 2022
@nupamore
Copy link

nupamore commented Nov 11, 2022

I manage the private component package of the company project by mapping several libraries. Only this project caused post-build problems. Currently, I solved the problem by using src instead of taking the dist of this library.
I didn't have time to take a closer look, but this library might not work properly on Vite because it was built and deployed as Webpack.

@ankurk91
Copy link
Owner

If someone can share a minimal reproduction of the issue, would be helpful

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants