now i am trying to learn about sencha extjs new version. Does anyone know any tutorial of how to make a project without sencha cmd?
Thank you in advance.
now i am trying to learn about sencha extjs new version. Does anyone know any tutorial of how to make a project without sencha cmd?
Thank you in advance.
@sonseiya First all.. Sencha CMD it is most usefull tool for sencha apps, not only will generate you app, your MVC structure,models,stores but also will compile for IOS, Android, WINDOWS, focus on use "Universal App" way, sencha CMD will put all your code in one single file and will be ofuscated, cool ha!
Now.. to answer your question, yes it is posible, sencha cmd uses the microloader an script to do smart stuf based on you browser.. but for your case, you need to use old way: ext.onready and create script tags on your 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 to use explicity requires because there are not microloader that is in charge of read all dependencies.
yes I know how some good tutorial : Ext JS 5 Sencha Cmd is really awesome and powerfull tool, but creating an application from scratch is really good for learning. Basically this tutorial works good enough for Ext JS 6 as well. I hope it helps