dynamic CSS not working in Nuxt
Hey all,
I made the Nuxt-codemirror module, but I have the weirdest issue I ever encountered and hope someone could help
CodeMirror can be enhanced with extensions. All work except for the syntaxhighlighting
There is a package from codemirror itself which has a basic set of extensions including highlighting. If I import that and use it highlighting works.
this makes highlighting work
the minimalSetup variable does this:
However, when I don't use the import { minimalSetup } from "codemirror" but use my exact own function then it doesnt work. I don't know how this can happen
I made the Nuxt-codemirror module, but I have the weirdest issue I ever encountered and hope someone could help
CodeMirror can be enhanced with extensions. All work except for the syntaxhighlighting
There is a package from codemirror itself which has a basic set of extensions including highlighting. If I import that and use it highlighting works.
this makes highlighting work
the minimalSetup variable does this:
However, when I don't use the import { minimalSetup } from "codemirror" but use my exact own function then it doesnt work. I don't know how this can happen
