File tree Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Original file line number Diff line number Diff line change 12
12
13
13
[ CodeMirror(6)] ( https://codemirror.net/6/docs/ ) component for Vue(3).
14
14
15
- ### Example
16
-
17
- - [ Examples (Vue3)] ( https://github.surmon.me/vue-codemirror )
18
- - [ Examples (Vue2)] ( https://v1.github.surmon.me/vue-codemirror )
19
-
20
15
### Documentation
21
16
17
+ - [ Examples (Vue3)] ( https://github.surmon.me/vue-codemirror )
22
18
- [ CodeMirror6 guide] ( https://codemirror.net/6/docs/guide/ )
23
19
- [ CodeMirror6 APIs] ( https://codemirror.net/6/docs/ref/ )
24
20
- [ CodeMirror6 examples] ( https://codemirror.net/6/examples/ )
29
25
### Legacy version
30
26
31
27
- [ [email protected] (Vue2 / CodeMirror5)
] ( https://github.com/surmon-china/vue-codemirror/tree/v4.0.0 )
28
+ - [ Examples (Vue2)] ( https://v1.github.surmon.me/vue-codemirror )
29
+
30
+ ---
32
31
33
32
### How to use
34
33
@@ -44,16 +43,16 @@ npm install vue-codemirror --save
44
43
45
44
#### Depending on your actual needs, you may need to install more CodeMirror packages
46
45
47
- ``` base
48
- // CodeMirror languages...
46
+ ``` bash
47
+ # CodeMirror languages...
49
48
yarn @codemirror/lang-html
50
49
yarn @codemirror/lang-json
51
50
yarn @codemirror/lang-javascript
52
51
53
- // CodeMirror themes...
52
+ # CodeMirror themes...
54
53
yarn @codemirror/theme-one-dark
55
54
56
- // more CodeMirror packages...
55
+ # more CodeMirror packages...
57
56
```
58
57
59
58
#### local component
You can’t perform that action at this time.
0 commit comments