Setting Up an Ext Page
- JavaScript: Include base library, adapter (optional), and Ext
- ext-all-debug.js for development
- ext-all.js or custom build for deployment
- CSS: Include ext-all.css and any optional themes
- Any other application-specific includes
- Application script inside Ext.onReady (can also be in an external file)
<script type="text/javascript" src="../adapter/ext/ext-base.js"></script>
<script type="text/javascript" src="../ext-all.js"></script>
<link rel="stylesheet" type="text/css" href="../resources/css/ext-all.css"/>
<script>
Ext.onReady(function() {
// Code here will load when DOM is ready
});
</script>