t-chatoyan / vue-excel-xlsx

Convert your Data as an XLSX file
MIT License
39 stars 28 forks source link

SCRIPT1003: Expected ':' #2

Open oraclerouter opened 4 years ago

oraclerouter commented 4 years ago

I'm getting SCRIPT1003: Expected ':' in IE 11

import VueExcelXlsx from "./VueExcelXlsx.vue";

export default { install(Vue, options) { Vue.component("vue-excel-xlsx", VueExcelXlsx); } };

bluekeys commented 4 years ago

Any ideas on what's causing this? I'm getting the same issue.

sanman-99 commented 4 years ago

I'm having the same exact issue.

dn-achim commented 2 years ago

Try to add vue-excel-xlsx to your transpile dependencies, like this:


module.exports = {
    transpileDependencies: [
        'vue-excel-xlsx'
    ],
    // ...
}