Closed InvincibleJun closed 2 months ago
Please check your code with Nuxt 3.8. If it works, then the module must be updated to support Nuxt 3.13.
The module uses regexps to fiddle with output HTML: https://github.com/IlyaSemenov/nuxt-vite-legacy/blob/c98e1dbf9f00cfce9990d6ca753edc45a6f0e0ca/src/runtime/server-plugin.ts#L7-L12
This was only tailored to Nuxt 3.4—3.8 output.
Thanks for reply.
So did it work? Why'd you close the issue?
FWIW, I updated regexps to work with Nuxt 3.13 and @vitejs/plugin-legacy 5.4.
Hello, Author. I use nuxt-vite-legacy lib in my init nuxt3 project.we will use it in chrome 58.
I configured it as follows.
nuxt.config.js
package.json
Then open chrome128 working fine, click alert 1 as ok. but it load all javascript file.
Then open chrome63 working bad, click it not alert .And load all javascript file.
I guess: in client render project, vite legcy plugin will inject some inline script into html file.Howerer, in server render will not inject some line script.
So, I need your help. Thanks