Hey guys...
I have a project that contains some classes that I want to use, and I have my project.
Ok, I have set in Ext.Loader configurations the project namespace and folder, but there is a problem, because sencha cmd does not recognize the loader configuration.
Ext.Loader.setConfig({
paths : {
'OtherNamespace': '../OtherNamespace/app'
}
});
Ext.application({
name: 'MyProject',
extend: 'MyProject.Application',
autoCreateViewport: 'MyProject.view.main.Main'
});
So, it runs only in dev, and can't compress u__ú
I have a project that contains some classes that I want to use, and I have my project.
Ok, I have set in Ext.Loader configurations the project namespace and folder, but there is a problem, because sencha cmd does not recognize the loader configuration.
Ext.Loader.setConfig({
paths : {
'OtherNamespace': '../OtherNamespace/app'
}
});
Ext.application({
name: 'MyProject',
extend: 'MyProject.Application',
autoCreateViewport: 'MyProject.view.main.Main'
});
So, it runs only in dev, and can't compress u__ú
About importing another project to my project
Aucun commentaire:
Enregistrer un commentaire