Develop/Vue 썸네일형 리스트형 Add authorization header in ajax with axios Add authorization header in ajax process. const token = 'eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpc3MvXC9yZW5ld9fQ.hGyUlcvaRfLhiaaQAqQg'; const authorization = `JWT ${token}`; axios.defaults.headers.common["authorization"] = authorization; const authCodeResult = await axios.post() 더보기 Force file download Force download with axios on vue.js fileDownload = (url, method, req, fileName) => { const axiosConfig = { method: method, url: url, responseType: 'blob', params: req, }; try { const response = await axios(axiosConfig); const url = window.URL.createObjectURL(new Blob([response.data])); const anchor = document.createElement('a'); anchor.href = url; anchor.setAttribute('download', fileName); docum.. 더보기 [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 }.. 더보기 이전 1 다음