vue-codemirror icon indicating copy to clipboard operation
vue-codemirror copied to clipboard

The Code Can't Highlight, Lint Or Fold

Open simon9124 opened this issue 5 years ago • 6 comments

I use vue-codemirror, toggle theme is OK, but can't highlight, lint or fold. I also copy some of your examples in my project, also can't. I have trying many methods even in issues, but no one used.

My vue-codemirror is 4.0.6 My webpack is 4.36.1 My npm is 6.9.0 My vue is 2.9.6

I surely have lead in the related dependences, and I am badly in need of your help~~

simon9124 avatar Aug 08 '19 08:08 simon9124

I have the same question. Please reply

resjscn avatar Nov 07 '19 08:11 resjscn

I have the same problem.

TheProudSoul avatar Apr 20 '20 08:04 TheProudSoul

have a try: use: import VueCodemirror from 'vue-codemirror/src/index' replace: import VueCodemirror from 'vue-codemirror' Others, follow the README。

followbin avatar May 25 '20 03:05 followbin

Has this issue been solved?

luozejian avatar Jul 22 '20 01:07 luozejian

Has this issue been solved?

use: import VueCodemirror from 'vue-codemirror/src/index' replace: import VueCodemirror from 'vue-codemirror' Others, follow the README。

followbin avatar Jul 22 '20 01:07 followbin

I had this issue as well. Switching to version 4.0.5 seems to fix it.

jonathanprl avatar Sep 20 '20 14:09 jonathanprl