nuxt / vite

⚡ Vite Experience with Nuxt 2

Home Page:https://vite.nuxtjs.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bug report:The latest version of plugin causes rendering errors

gzg1023 opened this issue · comments

demo:https://codesandbox.io/s/fervent-diffie-wo5lk

If these three plug-ins are used by colleagues, it will lead to fatal rendering errors. There are two (__nuxt) nodes

nuxt-vite: : v0.0.36
nuxt: v2.15.0
nuxt-property-decorator: 2.9.1

I don't know if it's nuxt-vite or nuxt-property-decorator, but using them together will cause this problem

like this:
WechatIMG3145.png

or(new project):
WechatIMG3181.png

When these three plugins (nuxt, nuxt-vite, nuxt-property-decorator) are used together, there will be many problems.
Sometimes it appears, sometimes it doesn't, and I don't know what to do

I'm receiving these errors without the use of nuxt-property-decorator

I'm receiving these errors without the use of nuxt-property-decorator

Well, that's nuxt-vite bug

Hey, @gzg1023 can you share your nuxt.config, please?

It should be fixed in the latest version. Can you re-verify? Thanks.