import the following entry points when i need to access many languages
Closed this issue · 3 comments
ZhangTomLiang commented
FIameCaster commented
You can import prism-code-editor/prism/languages/common
for 42 common languages, or prism-code-editor/prism/languages
for all languages like you've done.
I'm not sure what your issue is, could you specify?
ZhangTomLiang commented
I tried your advice,but seems not work.
import 'prism-code-editor/prism/languages/common';
or
import 'prism-code-editor/prism/languages';
the website client will be get error, please see the below.
chunk-4LSTX5LK.js?v=dbf9d462:209 Uncaught TypeError: Cannot read properties of undefined (reading 'markup-bracket')
at chunk-4LSTX5LK.js?v=dbf9d462:209:33
ZhangTomLiang commented