by wensley · 6y ago · 0 comments
let external = {foo: {bar: 'something'};
new Vue({
data: function() {
return {
ref: external.foo.bar
};
}
})
external.foo = {bar: 'something else'};One big issue for me has been that your data layer needs to know about and use Vue, which seems unintuitive as Vue is a UI library.