File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
1
<script setup lang="ts">
2
2
import { javascript } from ' @codemirror/lang-javascript'
3
3
import { lineNumbersRelative } from ' @uiw/codemirror-extensions-line-numbers-relative'
4
- import { okaidia } from ' @uiw/codemirror-theme-okaidia' ;
4
+ import { okaidia } from ' @uiw/codemirror-theme-okaidia'
5
5
6
6
import type { ViewUpdate } from ' @codemirror/view'
7
7
import type { CodeMirrorRef , Statistics } from ' ../src/runtime/types/nuxt-codemirror'
8
8
9
9
const code = ref (' console.log("Hello, CodeMirror!");' )
10
- const theme = ref <' light' | ' dark' | ' none' >(' light' )
10
+ // const theme = ref<'light' | 'dark' | 'none'>('light')
11
11
const codemirror = ref <CodeMirrorRef >()
12
12
13
13
const extensions = [lineNumbersRelative , javascript ({ jsx: true , typescript: true })]
You can’t perform that action at this time.
0 commit comments