How to SSR vue 3 in php?

  laravel, php, vue.js, vuejs3

I want to know how to server side render vue 3 code inside laravel 8 (with webpack) project.

All info I managed to get was on vue 2.5 like how to do it with v8 and other plugins.

I found 0 medium articles/stackoverflow answers on vue 3 + php, but I know that vue 3 has integraded SSR support (createSSRApp) so I’m a bit exited that it can work, I just don’t find any articles.

Any help will be appreciated (examples, suggestions, redirections to docs)

P.S.

I read about createSSRApp in How to use SSR with Vue 3 but answer is on node.js. I still hope that backend framework doesn’t matter!

Source: Ask PHP

LEAVE A COMMENT