mercredi 18 juin 2014

How to use /build/ext-all-debug.js with microloader during development?

During development I want to preload all extjs at once instead of waiting while microloader load all extjs core classes individually.

I try to use following code in index.html:



Code:



\
<html>
<head>
<meta charset="UTF-8" />
<script type="text/javascript" src="../ext/build/ext-all-debug.js"></script>
<script id="microloader" type="text/javascript" src="bootstrap.js"></script>
</head>

But application isn't started.

Bootstrap don't load app.js, etc...

Console output has no errors.

Without using ext-all-debug.js everything worked normally.


Please, give me working example of how to use ext-all-debug.js together with autogenerated extjs5 bootstrap.js.


Rebuild app every time with cmd is not very fast too.





Aucun commentaire:

Enregistrer un commentaire