You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello guys, quick question: 'import open, {openApp, apps} from 'open'
This is working fine, but I want to do it in the right way, like: let {openApp} = await import('open')
this works, but I can not import open, only named exports, I don't know a lot about imports, and I didn't manage to do it :(
Thanks.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello guys, quick question:
'import open, {openApp, apps} from 'open'
This is working fine, but I want to do it in the right way, like:
let {openApp} = await import('open')
this works, but I can not import
open
, only named exports, I don't know a lot about imports, and I didn't manage to do it :(Thanks.
JP
Beta Was this translation helpful? Give feedback.
All reactions