JSFiddle - React, Tailwind, and code Playground
HTML
<div>
<span data-bind="text: a.test"></span>
<span data-bind="text: b.test"></span>
</div>
JavaScript
var aViewModel = function()
{
var self = this;
self.test = "test from a";
};
var bViewModel = function()
{
var self = this;
self.test = "test from b";
};
masterVM = {a: new aViewModel(),
b: new bViewModel()};
ko.applyBindings(masterVM);