Closed smyth64 closed 7 years ago
We found the error: It is because of the package.json.
You placed the vue-router into the devDependencies. After putting it into the normal dependencies everything works.
We are going to fix this and make a pull request.
Awesome, thank you.
No response or PR received from this.
Hey guys.
I really like your package but it seems that the plugins which I register with Vue.use('...') are not availabe at server side.
Reproduction:
Side Note
The only 2 things I changed are these 2 files:
app.js
GetStartedView.vue
Here comes he bug
Now open the page at localhost:8080
In the browser you will see:
In the server console it's really strange. The first time I open the pageI the vue-axios plugin is loaded in the server side.
But if I reload the page now, Vue.axios is suddenly undefined!
Whereas on the frontend side the Vue.axios plugin is always available.
Can you please help us? We have tried everything but we don't have any idea :/ We really want to use your SSR-Seed for our projects!
Thank you!