The default way is to publish your interactive page as a Davia site with its own URL.
Once you’ve clicked on the
Publish
button and after your doc is
finally published, it’ll open up a menu with:
- Your doc’s live URL: when your document is live, you can access
its URL.
- Triggered updates: edits you make are reflected once you click the
Update button.
Your doc can store events and aggregate interactions that you’ve defined. Imagine a simple
leaderboard page that counts each user’s upvote. Every time someone clicks Upvote,
that count is saved in your doc’s data. Because the data is persisted, once your
page is public the totals keep increasing with every visitor interaction — you’ve
essentially deployed a small app.
Be careful when updating a published document: changing component fields or
the data structure can break the live document and existing data.
Great for: quick sites like portfolios, docs, blogs, or small knowledge
bases.
Publish your doc to the hub as an open source template. Users can import it into their workspace; the import becomes a personal copy, and their edits and data are private to them.
This is also the way to earn money from your published docs. Head over to our creators section to learn more about it.