Open
Description
Version
2.6.10
Reproduction link
https://codesandbox.io/s/vue-stringify-instance-2h78n
Steps to reproduce
Open the link, the error is reproduced right away as the code tries to serliaze the Vue instance.
What is expected?
Being able to serlialize the Vue instance.
What is actually happening?
Is not possible as the Vue prototype is missing the toJSON method.
The code is using telejson
as the stringify library in order to remove circular references. Is the same utility used by Storybook 5 which will rise those errors in diferent scenarios, as for example when using the Action addon and passing as argument a Vue instance.