Hello everyone, I'm trying to import a component declared in the shared-code folder to my widget setting file but i always end up with this error :
Load module error. TypeError: window.require is not a function
My question is : is it already possible to consume components from the shared-code folder in the setting file of a widget ? if so how can I achieve that ?
I am using ExB 1.17
Solved! Go to Solution.
Can you add the settingDependency: "jimu-arcgis" in the menifest.json?
Hello @ShengdiZhang
Yes i'm doing the import and export just like that and it works fine when i use the exported components in other places other than setting.tsx
Can you add the settingDependency: "jimu-arcgis" in the menifest.json?
Hi @JunshanLiu
I did that and it solved my problem, thank you