Sencha Touch2环境搭建

<!DOCTYPE html>
<html>
    
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
        <title>环境搭建</title>
        <link href="resources/css/sencha-touch.css" rel="stylesheet" type="text/css">
        <script type="text/javascript" src="js/sencha-touch-all.js"></script>
        <script type="text/javascript">
        	Ext.Loader.setConfig({disableCaching:false});
        	Ext.Ajax.setDisableCaching(false);
        	
        </script>
        <script type="text/javascript" src="js/app.js"></script>
    </head>
    <body>
    </body>
</html>

 app.js

Ext.application({
name:'App',  launch: function() {
Ext.Msg.alert("hello, Sencha Touch2.");
}
});

 

你可能感兴趣的:(环境搭建,sencha touch2)