OneWayTech/vue2-datatable

tdComp not working properly when reloading the page in Internet Explorer and Edge

Sakthi002 opened this issue · 2 comments

tdComp comes blank when reloading the page.
before reload
internet explorer after reloading

plz provide a reproduction?

My Internet explorer issues were caused by ES6 standards followed in the library, not being implemented in IE. I could direct my compiler (laravel mix) to transpile the .js in the node modules folder. Just leaving it here for posterity:

mix.webpackConfig({
    module: {
        rules: [
            {
                test: /\.js$/,
                use: [
                    {
                        loader: 'babel-loader',
                        options: Config.babel()
                    }
                ],
                exclude: /(node_modules\/(?!(vue2-datatable-component)\/.*))/,
        },
    ]
    },