开发者

Installing ExtJS

开发者 https://www.devze.com 2023-04-07 18:53 出处:网络
I am new to ExtJS. I tried installing it as per the steps given here. But I am getting one error while running this command.

I am new to ExtJS. I tried installing it as per the steps given here.

But I am getting one error while running this command.

   sencha create jsb -a http://localhost:8080/helloext/index.html -p app.jsb3

Error msg :

C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\helloext>sencha create jsb -a http://localhost:8080/helloext/index.html -p app.jsb3 'sencha' is not recognized as an internal or external command, operable program or batch file.

Wha开发者_运维问答t is the problem ?

PS : I already done with the prior steps of installing Apache Server and unzipping ExtJS SDK.

Thanks.


Windows is not finding the sencha executable.

Are you sure you downloaded the Sencha Tools SDK? (Current version is 1.2.3beta). The link from that tutorial shows a page with an obvious link to download the ExtJS library, and less obvious link for the Sencha SDK. Try downloading and installing this from here. Then see if typing "sencha" on the command line does something sensible.


I dont have time to reaad te tutorial but I will let you know how I get started using extjs. I download the library and extract the folder. Name the folder extjs. Then in my webroot or whatever you prefer I make a directory called lib and place extjs inside of it. Then when i create a html document I reference the library by using <script type="text/javascript" src="/lib/extjs/ext-all.js></script>. This is how you can call it up in order to use it. If you have a "app/js" file simply reference it after the example I gave you above so that it is loaded after the ext-all.js file.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号