socketsupply / union-app-studio

Like Codepen, but for native apps!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

requiring npm packages

zeke opened this issue Β· comments

πŸ‘‹ Yo!

It would be cool to be able to require('foo') and have it happen on the fly.

Maybe something like https://github.com/hughsk/installify would make it possible.

Oh I see this: https://twitter.com/0x00A/status/955157792280776705

Also, you can now select a directory that contains node_modules you want to use. For example, npm install preact to a new directory, then set that as your working directory and have fun :)

And that's outlined in the readme too. πŸ‘

Yeah, I'm +1 on a more streamlined way to do it on the fly, i'm just not 100% sure of the UX.

Hey when and if you're ready you should add this to electron-apps so more people will find it.

(Aside: We need to make it easier to submit apps. The process is still a bit futzy.)

Yes! Almost forgot about that. I'll add it and then maybe also add some feedback about it.