Closed lvvlan closed 6 years ago
I'm trying to do this
data () {
return {
testMobx: TestClass
}
}
but warning still exists
Could you please provide a minimum reproduction with codesandbox? You can make it with this template https://codesandbox.io/s/j76vj84zw9
This is a simple demo https://codesandbox.io/s/lj3l95m09 If I use vue-router, this warning will appear, If I not use vue-router, there's no problem,
@lvvlan fixed and released v2.0.7 Thanks for your feedback!
This is my code
but has this warning:
[Vue warn]: The "data" option should be a function that returns a per-instance value in component definitions.
why??