Information about hosting, deployment, and managing your Mocha projects
Yes!
You can publish your app in one click directly in Mocha.
You do so by clicking the Publish
button in the header.
if you’re a bronze, silver or gold subscriber you can also pick an available subdomain, like https://my-super-cool-website.mocha.app.
Publishing your app in Mocha
This is being worked on and will be available soon!
You cannot do this at this time. GitHub sync is something we’re considering but haven’t built yet.
Yes, you can. Click the app name in the header, and you’ll see a download code button.
Downloading your project in Mocha
Yes! You can, see more in our versions guide.
Yes! The Mocha application is a fully functioning editor. If you want to simply edit the code, you have to enter “dev mode” by clicking the code toggle on the top left:
Unless the file is marked as read-only (a few important files are set by Mocha and cannot be edited), you can edit the code directly.
When you finish typing, the file will automatically be saved. You can see the preview refresh in real-time, and if the refreshing doesn’t work for some reason, use the preview restart menu with a quick restart ⚡.
Simply ask it to modify the file with “filename.tsx”. You can ask it to ONLY modify that file and it should comply. We have not yet implemented file locking, so this isn’t guaranteed, but being insistent with the AI is an effective technique. See more in our prompting guide.
Not at the moment. If you’re interested, please let us know—we’ll adjust our roadmap based on user demand.