No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    [v0.14] IE11/Edge compatbility

    Announcements
    6
    32
    7793
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      pdanpdan @s.molinari last edited by pdanpdan

      @s.molinari
      Yes, that’s correct. That’s what the compatibility layer for IE does. The only problem is that it only detects IE, not Edge. I have to find a hack that’s common for IE and Edge.
      I’ll try to use this tomorrow: https://jeffclayton.wordpress.com/2015/04/07/css-hacks-for-windows-10-and-spartan-browser-preview/

      K 1 Reply Last reply Reply Quote 1
      • K
        keyb2004 @pdanpdan last edited by

        @pdanpdan Any progress?

        P 1 Reply Last reply Reply Quote 0
        • P
          pdanpdan @keyb2004 last edited by

          @keyb2004
          Hi. It’s done and tested on IE and Edge (this time also on Edge 🙂 ).
          https://github.com/quasarframework/quasar/pull/685
          It’s merged in dev, but it’s not yet in quasar-edge.
          If you want you can get a slightly modified build from https://github.com/pdanpdan/quasar

          1 Reply Last reply Reply Quote 2
          • rstoenescu
            rstoenescu Admin last edited by

            Deployed to edge. So any fixes are there.

            1 Reply Last reply Reply Quote 2
            • K
              keyb2004 last edited by

              Thank you for your help!

              1 Reply Last reply Reply Quote 0
              • R
                rv last edited by

                Hi, I am experience similar issue with IE 11 compatibility and getting blank pages.
                IE: 11.0.46
                Quasar: 0.14.5
                Vue: 2.4.4

                • Installed ‘es6promises’
                • Added recommended IE support lines in main.js
                // Uncomment the following lines if you need IE11/Edge support
                require(`quasar/dist/quasar.ie`)
                require(`quasar/dist/quasar.ie.${__THEME}.css`)
                
                // Polyfills for IE support
                import es6Promise from 'es6-promise'
                es6Promise.polyfill()
                import 'babel-polyfill'
                

                I am getting following error in IE console and blank pages:

                SCRIPT1003: Expected ':'
                File: app.js, Line: 2614, Column: 1
                

                Any help is appreciated!

                R rstoenescu 2 Replies Last reply Reply Quote 0
                • R
                  rv @rv last edited by

                  Found the problem. Definitely not an issue with quasar; it was some third party module which was causing issues with IE. To be specific it was vue2-filters (https://github.com/freearhey/vue2-filters).
                  Here are two active issues which I was also facing - #33 & #32.

                  I removed this module and my quasar app worked fine on IE. I think will be adding custom filters or will user Quasar’s css helper classes which I was not aware of before. 🙂

                  Thanks!

                  1 Reply Last reply Reply Quote 0
                  • rstoenescu
                    rstoenescu Admin @rv last edited by

                    @rv said in [v0.14] IE11/Edge compatbility:

                    // Polyfills for IE support
                    import es6Promise from 'es6-promise'
                    es6Promise.polyfill()
                    import 'babel-polyfill'
                    

                    Essentially this is what require('quasar/dist/quasar.ie') does. Why do you need that added?

                    R 1 Reply Last reply Reply Quote 0
                    • R
                      rv @rstoenescu last edited by

                      @rstoenescu said in [v0.14] IE11/Edge compatbility:

                      t/quasar.ie

                      Thanks. I didn’t realize and removed es6-promise specific lines. But I would need import 'babel-polyfills' to solve other IE compatibility issue like -

                      "TypeError: Object doesn't support property or method 'assign'"
                      
                      1 Reply Last reply Reply Quote 0
                      • rstoenescu
                        rstoenescu Admin last edited by

                        Are there any other errors that you get? I will add Object.assign to the IE polyfills list.

                        R 1 Reply Last reply Reply Quote 0
                        • R
                          rv @rstoenescu last edited by

                          @rstoenescu Nop - that was it!

                          And I can only post once every 120 seconds… 😞

                          1 Reply Last reply Reply Quote 0
                          • rstoenescu
                            rstoenescu Admin last edited by

                            @rv thanks. changed to 15 seconds now.

                            1 Reply Last reply Reply Quote 0
                            • W
                              walfin last edited by

                              Hi, looking for some help here. I read on the old docs that I need to uncomment 2 lines in main.js to enable IE11/Edge support. However, I couldn’t find any main.js. How do I enable Edge support? Currently, I am facing a blank screen in Edge with this error, “SCRIPT1028: SCRIPT1028: Expected identifier, string or number”.

                              1 Reply Last reply Reply Quote 0
                              • s.molinari
                                s.molinari last edited by

                                @walfin - Are you using v0.14?

                                Scott

                                1 Reply Last reply Reply Quote 0
                                • W
                                  walfin last edited by

                                  No, 1.6.1.

                                  1 Reply Last reply Reply Quote 0
                                  • s.molinari
                                    s.molinari last edited by

                                    Why are you then asking in an old thread about v 0.14?

                                    Here are the instructions in the new docs.

                                    https://quasar.dev/quasar-cli/cli-documentation/supporting-ie#Installation-of-IE-Support

                                    Scott

                                    1 Reply Last reply Reply Quote 0
                                    • W
                                      walfin last edited by

                                      @s-molinari Thanks for the link. However, I have just tried re-compiling with supportIE set to true and my app still displays a blank page in both IE and Edge. Maybe IE is just a problem browser.

                                      1 Reply Last reply Reply Quote 0
                                      • s.molinari
                                        s.molinari last edited by

                                        And it works in other browsers? Any errors in the dev console?

                                        Scott

                                        1 Reply Last reply Reply Quote 0
                                        • rstoenescu
                                          rstoenescu Admin last edited by

                                          @walfin upgrade to latest Quasar. v1.6.1 is pretty old.

                                          1 Reply Last reply Reply Quote 0
                                          • W
                                            walfin last edited by

                                            @rstoenescu Upgraded. Nope. Same inscrutable error: SCRIPT1028: SCRIPT1028: Expected identifier, string or number. I guess I will have to give up supporting IE.

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post