New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug Report] Vuetify doesn't seem to work on IE11 #11008
Comments
Vuetify doesn't work in Edge 44 if you don't use Babel to compile. |
My project's website cannot be accessed from IE11 too. I tried everything I could do by following the instruction, but it didn't work. It's just a blank page. Still struggling with IE11 issue now. |
add |
Hi @DRoet, thanks for answering. Unfortunately that's not the reason ... so please re-open this ticket. Not sure if it was me adding the transpileDependencies or if it was added while using the cli but it's there: As said neither the simple generated vuetify demo page (locally) nor the official vuetify page (online) is usable with IE 11. |
We need the minimal reproduction @Dev-Oli to reopen the issue, create a simple project and provide the link to github repo (include the description of how did you create the project, including information on which options you've chosen, as well as your environment - vue cli version, node version) |
As I said, I followed the instruction https://vuetifyjs.com/en/getting-started/browser-support/ step by step. Of course, I added I open the above instruction link in the IE11, the left side panel doesn't show up. Also, the whole layout looks different from Chrome or FF. |
@jacekkarczmarczyk I've created a sample test repo at https://github.com/Dev-Oli/vuetify-ie11-bug. It provides nothing more than the description I've already added to this ticket (the most simple demo setup without modifying anything). By calling vue add vuetify the transpileDependencies seems to be already added. As said before not even the official vuetify homepage is working at IE11. So I doubt that it's related to my local setup specifically. |
@jacekkarczmarczyk Wow that's stunning :).
This is the IE11 I'm using on Win 10: It has been working until end of last year / january-february this year. I can't name the version it breaks as IE isn't our main focus :P. |
Hmmm don't know what to say. As other users seems to be affected by this bug too maybe some other vuetify devs can please take a look and try to reproduce? As long as IE11 is at the supported browsers list I think this should be fixed, please re-open. |
Can you first check if it works for you with |
At least for me (with my IE version) I'm still getting an empty page while running As it has been working before and it seems to be getting cached -> no errors show up. Not sure why it's been working for you as the mozilla mdn clearly states that it's unsupported at IE. Maybe your newer IE11 version got the assign support patched ;). |
Ok, since that may be related to the IE version - could you please check the new vue cli project without vuetify and with console.log(Object.assign({})); in main.js? If this works then might be some issue with vuetify or cli plugin, otherwise you'd probably need to manually add some polyfills (and we might need to add proper information in docs) |
Adding the polyfill to public\index.html seems to fix this bug. Creating a new simple vue project and adding the log statement (as mentioned above) results in the same console error. It seems to be a vuetify issue because the object.assign is located at |
are you importing vuetify from |
@DRoet see attached demo github repo. |
@DRoet that doesn't matter, the problem is that Object.assign is not being polyfilled, which seems strange to me as it was added to default polyfill in babel preset some time ago, see vuejs/vue-cli#1248 and vuejs/vue-cli@8dcfc18#diff-d8e341482c7dd4a7872d0eea73aa34d9R11 |
I can confirm the latest vuetify works perfectly on IE11, there is no problem. |
@jacekkarczmarczyk Thanks for the sugguestion. |
@Dev-Oli can you confirm that vuejs/vue#11382 (comment) works in your case? |
I am using the updated browserlist in my project and it still works with IE11, I also cloned the repro and it runs fine in IE11 (11.0.185) Which node version is being used here to run the commands? |
@jacekkarczmarczyk I have an even older version of IE11 running it with no issues so I would be really surprised a random patch messed it up, but who knows 🤷♂️ the missing |
@DRoet In the sample repo I've created yesterday at the README.md you can find the node version I'm using. It's v12.10.0 @jacekkarczmarczyk Removing "not dead" from the package.json browserslist I still can't use the Object.assign in a simple vue project (without using vuetify) as you suggested. |
Oh, i missed that you already have not dead in package.json, so we're going back to "that's weird" stage Anyway as it was suggested in vuejs/vue#11382 you should create an issue in vue-cli repo and WITHOUT Vuetify, so just |
yeah idk if there is anything we can do here, building with |
@DRoet Thanks for verifying. That's really strange. Maybe I find some time at the weekend to check it with my pc at home. If I remember it right it happened there too. |
Hmmm "stranger things" part 2 to say the least.
The only difference I see is the node version. The OS + browser version shouldn't play a role as it's a polyfill problem. But as it's working for @DRoet with node version v12 I don't know what else to check. I'll have to leave it up to the experts ;). |
Just want to update how I resolved IE 11 issue. After struggling with IE 11 issue for a while, I decided to create a new VueJS + Vuetify project from the beginning. Before doing this, I upgraded VueCLI to I compared the new configuration files generated by VueCLI with the existing project, I found in this new project, it doesn't have I migrated everything from the existing project to this new project, and now everything is working fine in IE 11. I think Vuetify might need to update the documentation (https://vuetifyjs.com/en/getting-started/browser-support/) for the browser support. Here is system information:
|
|
The generated main.js by VueCLU doesn't have |
I created a new project using @vue/cli 4.5.6 and the default preset, added vuetify also with default settings and it works in IE11. |
Environment
Vuetify Version: 2.2.20
Vue Version: 2.6.11
Browsers: Internet Explorer
OS: Windows 10
Steps to reproduce
Expected Behavior
The sample / demo page is shown on IE
Actual Behavior
Nothing is shown just a blank / empty page. No console errors / warnings are logged.
The
stays empty.
On Chrome, Firefox, Edge it's working as expected.
Other comments
This happens at the official https://vuetifyjs.com/en/getting-started/quick-start/ pages too. Sometimes you will get an empty page, sometimes you will see at least static content but nothing vuetify related. This seems to be random / not reproducible.
The text was updated successfully, but these errors were encountered: