Extjs 6.0 - application for creating without cmd

Now I'm trying to find out about the new version of sencha extjs. Does anyone know any tutorial on how to make a project without sencha cmd?

Thanks in advance.

+6
source share
2 answers

@sonseiya Everything at first .. Sencha CMD is the most useful tool for sencha applications, it will not only generate your application, your MVC structure, models, stores, but it will also compile for IOS, Android, WINDOWS, focus on using the " Universal Application ", sencha CMD put all your code in one file and it will be exposed, cool!

Now ... to answer your question, yes, it is possible, sencha cmd uses the microloader script to create smart stuf based on your browser. But for your case you need to use the old way: ext.onready and create script tags in the html .. header for example:

<html> <head> <title>Ext JS </title> <link rel="stylesheet" type="text/css" href="path/ext-all.css" /> <script type="text/javascript" src="path/ext-all.js"></script> </head> <body> <script type="text/javascript"> Ext.onReady(function() { Ext.Msg.alert('Alert'); }); </script> </body> </html> 

Note: you must use explication because there is no microloader that is responsible for reading all the dependencies.

+3
source

yes I know how good the tutorial is: Ext JS 5 Sencha Cmd is a really awesome and powerful tool, but building an application from scratch is really useful for learning. Basically this tutorial works well enough for Ext JS 6. I hope this helps

+1
source

All Articles