【发布时间】:2013-11-18 08:12:40
【问题描述】:
我安装了 Sencha Touch 2 并编写了一个简单的 hello world 程序。它在 Chrome 上显示 Hello World,但没有任何类似移动设备的装备。我检查并可以从浏览器访问样式表文件。还有什么问题?程序中缺少什么?
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Hello World</title>
<script src="../touch/sencha-touch-all.js" type="text/javascript"></script>
<link href="../touch/resources/css/sencha-touch.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
Ext.application({
launch: function () {
Ext.create('Ext.Panel', {
fullscreen: true,
html: 'Hello World!'
});
}
});
</script>
</head>
<body></body>
</html>
【问题讨论】:
标签: google-chrome extjs sencha-touch-2