PDA

View Full Version : How can i use sencha themer 1.1 with https



volkans80
14 Mar 2017, 11:10 PM
Hi,

Our ExtJS application is running over https and we are not allowing to use http. How can i use sencha themer 1.1 with https?

Thanks,

dan.buhrman
15 Mar 2017, 7:03 AM
First of all, most of Themer's functionality operates as a standalone desktop app. You can build theme packages that can be used by an Ext application (like any other theme package), and never worry about the server environment of that application.

The one feature where this differs is inspecting an app directly with Themer. This feature allows you to 'Inspect' your app in a browser and returns relevant SASS variables for a selected component. We highly recommend running `sencha app watch -fashion` when using this feature, since this will allow live re-styling of the app as you change variables and UIs in Themer.

Without app watch, you will be able to see relevant variables, but will need to re-build the CSS and reload the browser (and re-connect to Themer) everytime you make a variable change, which obviously isn't a very productive workflow...

If you are set on getting the inspect feature to work, you can try using the bookmarklet option to connect (View => Connected Apps). This option injects a <script> tag into your application that loads a JS file served by Themer (localhost - not HTTPS). This JS file connects to Themer via a WebSocket for 2-way communication. If your application has some built-in security that, for instance, forces everything to go over HTTPS, this will obviously not work for you.

I hope this helps!

volkans80
15 Mar 2017, 11:39 AM
Yes our application forces user to use https and i think we can't inspect our app directly with Themer.