I am attempting to go through the Sencha documentation and learn the tools. But I can't seem to get the hello ext working. I have created a root directory called, "helloext". Inside I have: index.html, app.js, and an ext-4 folder (which I unzipped from "Ext JS 4 SDK").
Here's the link to the documentation: http://docs-origin.sencha.com/extjs/4.2.1/#!/guide/getting_started
HTML:
<html>
<head>
<title>Hello Ext</title>
<link rel="stylesheet" type="text/css" href="ext-4/resources/css/ext-all.css">
<script type="text/javascript" src="ext-4/ext-debug.js"></script>
<script type="text/javascript" src="app.js"></script>
</head>
<body></body>
</html>
Javascript:
Ext.application({
name: 'HelloExt',
launch: function() {
Ext.create('Ext.container.Viewport', {
layout: 'fit',
items: [
{
title: 'Hello Ext',
html : 'Hello! Welcome to Ext JS.'
}
]
});
}
});