An Electron & Vue.js quick start boilerplate with vue-cli scaffolding, common Vue plugins, electron-packager/electron-builder, unit/e2e testing, vue-devtools, and webpack.
Using this.$router.push('/home') sends me to an empty web page.
I have it so when someone logs in, whenever its OK it pushes to home, but it returns a blank page and devtools crashes, (disconnects).
In my CMD it keeps spamming
[16932:0512/134958.917:ERROR:CONSOLE(131)] "Extension server error: Object not found: <top>", source: devtools://devtools/bundled/extensions/ExtensionServer.js (131)
Describe the issue / bug.
Using this.$router.push('/home') sends me to an empty web page. I have it so when someone logs in, whenever its OK it pushes to home, but it returns a blank page and devtools crashes, (disconnects).
In my CMD it keeps spamming
[16932:0512/134958.917:ERROR:CONSOLE(131)] "Extension server error: Object not found: <top>", source: devtools://devtools/bundled/extensions/ExtensionServer.js (131)
Weird thing is, when i put the
this.$router.push
inside amounted()
or any other lifecycle hooks, it works normally, but when i use it in a function upon button click, it just 💩 outthis is my router config
How can I reproduce this problem?
If visual, provide a screenshot.
Tell me about your development environment.