ExtJS + NodeJS mvc应用程序 [英] ExtJS + NodeJS mvc application

查看:261
本文介绍了ExtJS + NodeJS mvc应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想问一下在NodeJS环境中使用ExtJS,我尝试了一些节点模块,但是没有人允许我使用这个mvc结构来创建extjs的应用程序(我的意思是使用Ext.application)任何人都有这样的运气



问候。

解决方案

普通版ExtJs将无法正常工作。 ext-core-debug.js 使用窗口和另一个内置对象的浏览器。为了使其工作,您需要制作一些假货:窗口导航器等。


I would like to ask about use ExtJS inside NodeJS environment, I tried some node modules but no one allow me to create the application of extjs using thier mvc structure (I mean using Ext.application) do anyone have any luck with this?

Regards.

解决方案

Ordinary build of ExtJs will not work. ext-core-debug.js uses window and another browser builtin objects. To make it work you'll need to make some fakes: window, navigator, etc.

这篇关于ExtJS + NodeJS mvc应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆