I get an error while processing codemirror even though it is in my package.json
P粉662089521
P粉662089521 2024-01-29 12:51:14
0
1
446

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.

P粉662089521
P粉662089521

reply all(1)
P粉008829791

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

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!