A page is a part of your application that has a unique URL. This allows users to share links to a specific page in your app.
You can create new pages by clicking the "Create New +" button at the bottom of the project panel and then selecting "New Page."
Give your page a name and a URL path where you want the page to be found.
Instead of the Attributes and Event sections you see with components, you will see a Page section in the data panel.
You can open the page configuration panel by clicking the page in this section.
At the top, you will see a URL preview, which shows how the URL for this page will look.
Add or remove path segments to change your page's path. You can also specify any query parameters that your page will use. We will cover path parameters and query parameters on the next page.
Each page in your application should have a unique title and description.
These provide basic information about your page to search engines, and when sharing links on social media sites.
Ensure your title and descriptions are short and clear about what content the user can expect to find on the page.
You can also add custom meta headers to your page. This could include additional open graph data or viewport information. You get unlimited meta tags to support your specific needs, which makes toddle great for SEO.
Note: custom meta tags will only be rendered for applications on a paid plan. Please see our pricing page for more details.
If a user ends up on a URL/path of your app that doesn't match a page, toddle will show a 404 (page not found) page by default. If you want to show a custom 404 page instead, add a new page and name it "404". After you have added a 404 page, that page will be used whenever we encounter a URL that doesn't match any of your app's pages.
Note custom 404 pages and proper 404 handling are only available on paid plans. Please see our pricing page for more details.