[Vuejs]-Sl-vue-tree + vue-cli3.1 on ie11

0👍

This is how I solved it. Im using Vue cli 3.6 and sl-vue-tree 1.8.4

Add transpileDependencies to vue.config.js

module.exports = {
 transpileDependencies: ['sl-vue-tree'],
 ...
}

My babel.config.js

module.exports = {
 presets: [
  ["@vue/app", {
    modules: "commonjs"
  }]
 ]
};

In my vue component im just importing sl-vue-tree like this:

import slVueTree from "sl-vue-tree";

Leave a comment