You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure who's the guilty one :), but here's the thing. I created a fresh vue application using the vue-cli (vue init webpack {projectname}). Then I installed the vue-router and finally the [vue-apollo] package with [apollo-client].
Everything seams to be working, but when I try to prerender my project using the prerender-spa-plugin I see errors inside compiled files. At first I thought that pre-renderer has problems with async operations, but it turned out that it works without problems. Only the apollo part is not working.
This is the error that I see:
TypeError: undefinedisnotanobject(evaluating'r._updateFromParent')
http://localhost:8000/static/js/vendor.0c3c80024a3bb7c58eec.js:12 in st
http://localhost:8000/static/js/vendor.0c3c80024a3bb7c58eec.js:13 in y
http://localhost:8000/static/js/vendor.0c3c80024a3bb7c58eec.js:13 in v
http://localhost:8000/static/js/vendor.0c3c80024a3bb7c58eec.js:13 in y
http://localhost:8000/static/js/vendor.0c3c80024a3bb7c58eec.js:13
http://localhost:8000/static/js/vendor.0c3c80024a3bb7c58eec.js:12 in _update
http://localhost:8000/static/js/vendor.0c3c80024a3bb7c58eec.js:12
http://localhost:8000/static/js/vendor.0c3c80024a3bb7c58eec.js:13 in get
http://localhost:8000/static/js/vendor.0c3c80024a3bb7c58eec.js:13 in run
http://localhost:8000/static/js/vendor.0c3c80024a3bb7c58eec.js:12 in T
http://localhost:8000/static/js/vendor.0c3c80024a3bb7c58eec.js:13 in t
Here is also a repository with my code. Just run npm run build, then check the ./dist/index.html file.
The text was updated successfully, but these errors were encountered:
I'm not sure who's the guilty one :), but here's the thing. I created a fresh
vue
application using the vue-cli (vue init webpack {projectname}). Then I installed the vue-router and finally the [vue-apollo] package with [apollo-client].Everything seams to be working, but when I try to prerender my project using the prerender-spa-plugin I see errors inside compiled files. At first I thought that pre-renderer has problems with
async
operations, but it turned out that it works without problems. Only theapollo
part is not working.This is the error that I see:
Here is also a repository with my code. Just run
npm run build
, then check the./dist/index.html
file.The text was updated successfully, but these errors were encountered: