Explore changes with drafts
Drafts let you test new ideas in a separate copy of your project without altering your existing work. If you like the result, accept the draft to bring the changes into your project, or delete it to discard them completely.
Anyone who wants to experiment with redesigns, new features, or copy variations without disrupting their main project or teammates.
Do this, in order
- 1
Click your project's name at the top of the screen to open the draft switcher, then click 'New draft'.
This creates an isolated working copy of your project with its own preview and chat.
- 2
Prompt Lovable in the draft chat to make the changes you want to test.
Edits made in a draft stay inside that draft and do not touch your main project.
- 3
Click your project's name at the top anytime to switch between the main version and your drafts.
This lets you review and compare your experiments against the current project version side by side.
- 4
Click 'Accept' in the top right to keep the changes, or select 'Delete' from the draft menu to discard them.
Accepting moves the draft's edits into your main project, while deleting throws away the experiment without affecting anything.
- 5
Return to the main version and click 'Publish' when you are ready to make the accepted changes live.
Accepting a draft only adds the edits to your working project; your published site changes only when you publish.
Paste this into your project
Create a new hero section variation with a clean modern layout, a bold headline, a subheadline explaining our core value proposition, and two call-to-action buttons.
Words decoded
- Main
- The central working version of your project from which you publish your live app.
- Draft
- A private clone of your project where you can test prompts and edits safely without affecting the main version.
- Accept
- Adding the edits you made inside a draft permanently back into your main project.
- Update
- Pulling newer edits from the main project into your draft so your draft is not running on an outdated version.
Where people get stuck
- Drafts share your real database and file storage. If you change or delete existing data while testing in a draft, that data is really changed in your live app.
- Accepting a draft does not update your live site for visitors; you must publish from the main project for changes to go live.
- Do not set up secrets, authentication providers, payment integrations, or email domains inside a draft; configure those on the main project instead.
- If you ask Lovable to add new database tables in a draft, preview errors are normal until you accept the draft, because tables are only created in the database when the draft is accepted.
The short version, steps, decoder and prompt on this page are written automatically from Lovable's own documentation and can lag or misread it. The official page is always the authority.