import "codemirror/lib/codemirror.css"; import "codemirror/theme/material.css"; import 'codemirror/mode/xml/xml.js' import 'codemirror/mode/javascript/javascript.js' import 'codemirror/mode/css/css.js'
Module not found: error: package path ./lib/codemirror.css is not exported from package I get the same error for all imports.
I just want to get the output of the editor component.
I think there are some problems with the code image file. Probably because they don't export anything directly, so these import statements can't extract anything from these addresses. If anyone finds a way to import these functions, please suggest any other way to import these functions from codemirror