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 @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
                                        • s.molinari
                                          s.molinari last edited by

                                          http://mikemclin.net/fixing-error-script1028-expected-identifier-string-or-number/

                                          Scott

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

                                            I’m guessing it’s caused by spread operator. That’s what I see in my code. I suspect babel is not transpiling the spread operators. How do I add the spread operator plugin to the webpack config in quasar.conf.js?

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