monaco-react
monaco-react copied to clipboard
t.config is not a function
点开一直处于loading,然后这个错
@sea-xh I don't understand Chinese
@sea-xh我听不懂中文
It can be used normally in local development, and an error will be reported when the code is deployed to other environments
it seems your "other" environment has some restrictions/limitations regarding CDN
. Note that by default the sources of the monaco are coming from the CDN (check your Network
tab in the Devtools
).
@suren-atoyan please be aware than this fails due to missing window.require for some reason: