I found the option to export the code of an app, but what about importing? I can’t seem to import code without having first “built” an app. Also, the tool says it will merge the code - so what’s the best way to import or recreate an app from a ZIP file?
Hi @Alex ,
To import code, you’ll need to create an app first. The easiest way is to prompt it to build a simple “Hello World” app, then import your ZIP on top of it.
Here’s the flow:
Create a new app and prompt it: “Build a Hello World app.”
Go to the Code tab, click the ... menu, and select Import code.
Make sure your ZIP contains the outermost project folder (right-click → compress), and excludes build artifacts like node_modules or .next.
Note that import merges with the existing project and overwrites files at matching paths — so starting from a fresh app keeps things clean.