和extjs包同一根目录
<!DOCTYPE html>
<html>
<head>
<link href="./ext-6.0.0-gpl/ext-6.0.0/build/classic/theme-classic/resources/theme-classic-all.css" rel="stylesheet">
<script src="./ext-6.0.0-gpl/ext-6.0.0/build/ext-all.js"></script>
<script type="text/javascript">
Ext.onReady(function() {//onReady is a function which will be called when the DOM is ready
Ext.create('Ext.Panel', { //create a panel object
renderTo: 'helloWorldPanel', //render the panel to a div with id helloWorldPanel
height: 100, //set the height of the panel to 100
width: 200, //set the width of the panel to 200
title: 'Hello world', //set the title of the panel to Hello world
html: 'First Ext JS Hello World Program' //set the html of the panel to a string
});
});
</script>
</head>
<body>
<div id="helloWorldPanel"></div>
</body>
</html>
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。