简体   繁体   English

Ext6 / Sencha构建错误与Ext.window.Window

[英]Ext6 /Sencha Build Error with Ext.window.Window

im trying to build the sample app from this side : https://docs.sencha.com/extjs/6.0/getting_started/login_app.html 我试图从这一方面构建示例应用程序: https : //docs.sencha.com/extjs/6.0/getting_started/login_app.html

Using sencha app watch and netbeans for deleopment. 使用sencha app watch和netbeans进行开发。

Instead of using this method : sencha -sdk /path/to/ExtSDK generate app -classic TutorialApp ./TutorialApp 代替使用此方法:sencha -sdk / path / to / ExtSDK生成应用程序-classic TutorialApp ./TutorialApp

I used this (because I need to create a App for mobile devices): 我用了这个(因为我需要为移动设备创建一个应用程序):

sencha -sdk /path/to/ExtSDK generate app -modern TutorialApp ./TutorialApp sencha -sdk / path / to / ExtSDK生成应用程序-modern TutorialApp ./TutorialApp

I can test the default app and it works nice. 我可以测试默认应用,并且效果很好。 But as soon as i add this line from the Tutorial: 但是,一旦我从教程中添加了这一行:

Ext.define('TutorialApp.view.login.Login', {
extend: 'Ext.window.Window',
xtype: 'login'

}); });

Sencha watch is throwing a " Unknown defintions for dependecy : Ext.window.Window Sencha手表抛出“不确定的依赖项:Ext.window.Window

Ideas? 有想法吗?

Ext.Dialog with closable: true is pretty close the classic toolkit's Ext.window.Window. Ext.Dialog与关闭的:真实是非常接近的经典工具包的Ext.window.Window。 It can for instance hold a formpanel item. 例如,它可以容纳一个模板项目。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM