Open noelc10 opened 5 years ago
did you fix it? I have the same problem, I search a lot but unfortunately, I didn't found solution to implement the Prerender plugin in laravel & vue project
Same here, on a fresh vue-cli project using Universal Vue. Any ideas?
@iAli22 sorry for the laaaateeee response, I didn't though, my last resort is to not include a pre-render from it to avoid the headache.
@bpolaszek sorry for the laaaateeee response, I didn't though, my last resort is to not include a pre-render from it to avoid the headache.
but @bpolaszek @iAli22 try to replace the headless prop value to false
maybe there's something will come up or fix the problem at your sides:
renderer: new Renderer({ renderAfterTime: 5000, headless: false })
I have installed this plugin on my laravel-vue app and setup the config inside laravel mix's webpack.mix.js file.
Now, when I run it via npm(I use watch, dev, and prod for this issue), It rendered without errors. But the rendered html file contains error test inside title tag and not found inside pre tag: http://prntscr.com/owcj6e
here's my setup:
webpack.mix.js:
resources/js/routes.js
resources/js/app.js
Any suggestions, advise and help is heavenly appreciated.
Thank you.