[Bug Report] Vuetify not working with Nuxt 2.0
chandrucrm opened this issue · 1 comments
Versions and Environment
Vuetify: 1.3.7
Vue: 2.5.17
Browsers: Internet Explorer
OS: Windows 10
Steps to reproduce
- git clone https://github.com/ChandruCR/nuxt-vueitfy-ie
- yarn
- yarn dev
- open http://localhost:3000 in IE
Expected Behavior
It should load the sample page created in nuxt
Actual Behavior
It should load the page like how it loads in other browsers but it doesn't
Reproduction Link
https://github.com/ChandruCR/nuxt-vueitfy-ie
Other comments
This is a nuxt project created using the command yarn create nuxt-app .
I used vuetify as the styling UI framework while creating it. It works fine on other browsers except for IE.
I know it's a polyfill issue. I think Nuxt 2.0 and above automatically adds polyfill to the setup.
I raised an issue in Nuxt github page as i thought it was an issue with Nuxt.
nuxt/nuxt#4326
But i got a response saying it's an issue with Vuetify.
How do i get Vuetify working on Nuxt 2.0 and above application for IE browser?
Including polyfill directly to nuxt config solved this issue.
script: [
{
src: "https://cdnjs.cloudflare.com/ajax/libs/babel-polyfill/6.26.0/polyfill.js"
},
{
src: "https://cdnjs.cloudflare.com/ajax/libs/event-source-polyfill/0.0.9/eventsource.js"
}
]