sencha-cmd

How to build ExtJS app into .js file, not inside index.html?

[亡魂溺海] 提交于 2021-01-25 06:35:39
问题 I have Ext JS app (5.0, MVC) which need to be placed inside DIV container in HTML page. Everything works in development environment, but i can't understand how to use sencha cmd to build it, because build process generates "launcher" code and places it inside index.html When i copy/paste builded JS code into my template - it works fine. So, question is: can i somehow redirect build JS output into .js file, which i'll include (with <source>) in my HTML, so i'll do not need to copy/paste JS

How to build ExtJS app into .js file, not inside index.html?

淺唱寂寞╮ 提交于 2021-01-25 06:34:32
问题 I have Ext JS app (5.0, MVC) which need to be placed inside DIV container in HTML page. Everything works in development environment, but i can't understand how to use sencha cmd to build it, because build process generates "launcher" code and places it inside index.html When i copy/paste builded JS code into my template - it works fine. So, question is: can i somehow redirect build JS output into .js file, which i'll include (with <source>) in my HTML, so i'll do not need to copy/paste JS

How to build ExtJS app into .js file, not inside index.html?

拈花ヽ惹草 提交于 2021-01-25 06:33:10
问题 I have Ext JS app (5.0, MVC) which need to be placed inside DIV container in HTML page. Everything works in development environment, but i can't understand how to use sencha cmd to build it, because build process generates "launcher" code and places it inside index.html When i copy/paste builded JS code into my template - it works fine. So, question is: can i somehow redirect build JS output into .js file, which i'll include (with <source>) in my HTML, so i'll do not need to copy/paste JS

Sencha Touch Deployment Options?

亡梦爱人 提交于 2020-01-24 20:37:07
问题 I am very new to ExtJS and Sencha Touch. I am trying to learn Sencha Touch, and was able to get a demo version running locally using 'sencha watch'. But I want to deploy this somewhere like Heroku, Azure, AWS or wherever. How do I get this in production? I'd appreciate it, CMazz 回答1: How do I get this in production? Developing your application simply means editing source code and refreshing the browser. All source files are dynamically loaded on demand. There's no building process involved.

Sencha CMD Linux command not found

ぐ巨炮叔叔 提交于 2019-12-25 11:40:09
问题 I'm trying to install Sencha-Cmd-6.0.2.14 in xUbuntu. I downloaded SenchaCmd-6.0.2-linux-amd64.sh.zip and unzipped it to my desktop. I installed Java by executing sudo apt-get install default-jdk -y . Then I executed ./SenchaCmd-6.0.2.14-linux-amd64.sh . The installation window appeared and I successfully went through the process. Upon completion, I typed in sencha at the command prompt but I got a command not found error. 回答1: Sencha is probably not in your $PATH, I'm not sure where it

Porting from EXT js 3.4 to EXT js 5.0

早过忘川 提交于 2019-12-25 03:05:09
问题 I have a web application on Sencha currently using ExtJS 3.4 functionality using the Sencha Architect 3.2, want to port/Migrate some forms to ExtJS 5.0. What will be the changes required? they will be minor or Major ? Do I need to change whole structure to MVC ? Quick reply will be appreciated. 回答1: Moving from Ext JS 3.x to >= 4.x (in your case, 5.x) is a complete application rewrite. In 4.0, Ext JS completely changed how the class system works (using syntax like Ext.define() ) -- a breaking

Sencha: Cannot satisfy requirements for “ext”

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-24 09:36:06
问题 trying to refresh my sencha extjs app and always get this error: Commands: sencha app refresh sencha app upgrade Always the same error: [ERR] Cannot satisfy requirements for "ext"! [ERR] The following versions cannot be satisfied: [ERR] root: ext@5.1.1.451 (No matches!) [ERR] Cannot resolve package requirements What can I do? Sencha Cmd: v6.1.3.42 (with last version 6.2.0 I get this error too) Core Version 5.0.0 Extjs Version 5.1.1.451 Thanks in advance 回答1: This error is occurring because

How can I make Development builds behave the same as Testing and Production?

為{幸葍}努か 提交于 2019-12-24 07:44:50
问题 When developing an app I have sencha app watch running. This, of course, watches for file changes and triggers a development build. So now I can exercise the app under development in the browser. Nice. The problem is a sencha app build testing does not behave the same way as the Development build. The difference is in needing requires . If a requires is missing in Development, the app functions as if it was there. Chrome throws a warning - sometimes: [W] [Ext.Loader] Synchronously loading

Sencha Cmd 5 + Java 8 Error

笑着哭i 提交于 2019-12-23 09:03:26
问题 After installing Java 8 JDK on my Windows build server, I'm running into the following error when executing the sencha command: C:\> sencha Error: Registry key 'Software\JavaSoft\Java Runtime Environment'\CurrentVersion' has value '1.8', but '1.7' is required. Error: could not find java.dll Error: Could not find Java SE Runtime Environment. The Sencha Cmd Guide implies that Java 8 isn't supported yet (however Sencha Cmd works fine on my Mac OS X workstation with Java 8): Sencha Cmd requires