|
|
|
|
|
by wensley
2319 days ago
|
|
It is possible to keep the data inside of a seperate class.
I have an app where I needed to observe a few properties of a class but wanted to keep it completely standard js so it could be used outside of a Vue app. I created an object in Vue's data and referenced some of the class properties, it works fine and changes are reactive in both directions. |
|