F-loat / vue-simplemde

📝 Vue SimpleMDE - use simplemde with vue.js
https://F-loat.github.io/vue-simplemde/dist/demo.html
MIT License
770 stars 111 forks source link

IE11 editor not working #47

Closed sanderfalleyn closed 6 years ago

sanderfalleyn commented 6 years ago

[Vue warn]: Error in mounted hook: "TypeError: Object doesn't support property or method 'assign'"

Is it possible to transpile your code so that object.assign is not in your code?

F-loat commented 6 years ago

You should use babel-polifill. Babel will not transpile code like Object.assign.

F-loat commented 6 years ago

And use import { markdownEditor } from 'vue-simplemde';, you will get the transpiled code.