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 11<script setup lang="ts">
22import { javascript } from ' @codemirror/lang-javascript'
33import { lineNumbersRelative } from ' @uiw/codemirror-extensions-line-numbers-relative'
4- import { okaidia } from ' @uiw/codemirror-theme-okaidia' ;
4+ import { okaidia } from ' @uiw/codemirror-theme-okaidia'
55
66import type { ViewUpdate } from ' @codemirror/view'
77import type { CodeMirrorRef , Statistics } from ' ../src/runtime/types/nuxt-codemirror'
88
99const code = ref (' console.log("Hello, CodeMirror!");' )
10- const theme = ref <' light' | ' dark' | ' none' >(' light' )
10+ // const theme = ref<'light' | 'dark' | 'none'>('light')
1111const codemirror = ref <CodeMirrorRef >()
1212
1313const extensions = [lineNumbersRelative , javascript ({ jsx: true , typescript: true })]
You can’t perform that action at this time.
0 commit comments