lundi 15 septembre 2014

displaying a extjs editor grid via Laravel index.blade.php

When I reference my extjs minimized app.js MVC grid in a laravel 4 index.blade.php template to deliver a html page containing my editor grid I get a 'TypeError: t is null' error message in app.js. (I only need a single grid on a html page, not a complete extjs app )

When I open the same page using index.html as generated with sencha command (also minimized version) everything works fine.


Viewing both pages' source code, shows exactly the same html, for the laravel 4 and the sencha command generated with the right js and css references.


I presume because laravel uses routing to open the page ( different path) , this version doesn't load the app.js However: when I load my non mimified app.js version via Laravel, this does work.


So I was wondering: Is there a workaround so I can use the mimified quick version?


Thanks for any advice or help.






displaying a extjs editor grid via Laravel index.blade.php

Aucun commentaire:

Enregistrer un commentaire