JSFiddle - React, Tailwind, and code Playground
JavaScript
(function($) {
var App = {};
$.extend(App, {
version: '1.0',
init: function() {
alert(this.version);
}
}
);
$(function() {
App.init();
});
})(jQuery);