본문 바로가기

Develop/Vue

[NUXT] error on IE browser

When I develop with Nuxtjs (Vue.js framework), 

I got the object Error on IE(internet explorer) brower like this.


I guess, This occured by nuxt framework's leak browser compatibility.

So, I was googling with this error message..Finally I got the solution..


# nuxt.config.js

build: {
...
vendor: ["babel-polyfill"],
babel: {
presets: [
[
"vue-app",
{
useBuiltIns: true,
targets: { ie: 9, uglify: true }
}
]
]
},
...


The solutions is add 'babel-polyfill' setting in nuxt.config.js file like above..

'Develop > Vue' 카테고리의 다른 글

Add authorization header in ajax with axios  (0) 2018.08.07
Force file download  (2) 2018.08.07