Still have a blank page on internet explorer
-
Hello,
As title says, I have a blank page on internet explorer. I have done this: http://quasar-framework.org/guide/browser-support.html , but even if I uncomment the 2 lines for IE (v11) just show me a blank page.
Also, it works well on Edge, but not on IE11.
What happens ?
-
More information:
After
quasar dev
command, I have errors in console:- polyfill-eventsource added missing EventSource to window
- Object doesn’t support this property or method " assign "
After
quasar build
command, I have no error at all.Just a blank page, and seems like
<div id="q-app"></div>
doesn’t show anything in both case. -
Resolved, no more blank page !
Here is what I have done to make IE work, from this: http://forum.quasar-framework.org/topic/549/v0-14-ie11-edge-compatbility/13
So:npm install --save es6-promise babel-polyfill
Then in
main.js
, after uncommenting the two lines:import es6Promise from 'es6-promise' es6Promise.polyfill() import 'babel-polyfill'
-
@BigAppear
Essentially this is whatrequire('quasar/dist/quasar.ie')
does. Why do you need that added?
The instructions from docs should suffice: http://quasar-framework.org/guide/browser-support.html -
I had a blank page on internet explorer even if I didn’t import these, I don’t know why.
However, uncommenting your lines seems to handle errors like buttons width on Edge. -
Yes, but you don’t need the part below. Simply uncommenting the two requires that come with the template should suffice.
// // Don't need these: // import es6Promise from 'es6-promise' es6Promise.polyfill() import 'babel-polyfill'
-
I already uncommented your two lines, as I said. I had a blank page on Internet Explorer 11. Then, adding these 3 lines worked for me. I still don’t know why, but it worked, so yes, need it (at least for me)
-
As this post says: http://forum.quasar-framework.org/topic/549/v0-14-ie11-edge-compatbility/16 , maybe I just need:
import 'babel-polyfill'
But yes, I suppose I need at least this line. And as I see, you’ll add it to your package and that’s a good new