JSFiddle - React, Tailwind, and code Playground
by el_chief
HTML
<link rel="stylesheet" href="//extjs.cachefly.net/ext-4.1.0-gpl/resources/css/ext-all-gray.css" />
JavaScript
Ext.define('App.view.Viewport', {
extend: 'Ext.container.Viewport',
initComponent: function() {
Ext.applyIf(this, {
items: [
{
xtype:'window',
autoShow:true
}
]
});
this.callParent();
}
});
Ext.Loader.setConfig({
enabled: true
});
Ext.application({
name: 'App',
autoCreateViewport: true,
launch: function() {}
});