-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Converting circular structure to JSON #541
Comments
Hi, can you be more specific about your issue with some code snippets for example? |
In Album page I have a component with the name of The problem occur when I navigate to |
Oh, I figure out that I can't use route object in the albumInfo. |
@msudgh Generally you can't store any function in data. This example throws foo() is not a function exception! asyncData() {
return {
foo() {
console.log("Bar")
}
}
},
mounted() {
console.log(this.foo())
}, BTW route is injected to component instance and you can access route using |
Yeah, I got it. it was just a bad mistake. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
When I navigate to an address directly by entering in address bar I got below error.
The text was updated successfully, but these errors were encountered: