frandiox / vite-ssr

Use Vite for server side rendering in Node
MIT License
823 stars 91 forks source link

Vue on client don't start lifecycle. #212

Closed phlegx closed 1 year ago

phlegx commented 1 year ago

Hi!

I use latest Vite and vite-ssr with Vue 3.

Using the dev server, all works fine. But if I build and serve the app with node, the app opens but Vue seams not to run. There are no warnings or errors in the console. The js module and all required things (id="app"), CSS, etc. are loaded but Vue don't start the app.

Any idea where the problem can be?

phlegx commented 1 year ago

Sorry for the issue. It was a strange import. My mistake!