Create a New Page

-> Follow the below steps to create new page.

1. Create a new folder in src/routes. ex. NewPage, and then create a svelte file in src/NewFolder/NewPage.svelte.

Layout Components
(Create file in src/routes/(admin) folder.) <script> import HeadTitle from '../../../../common/components/HeadTitle.svelte'; import Breadcrumb from '../../../../common/components/Breadcrumb.svelte'; </script> <HeadTitle title="Analytics" /> <div class="container-fluid group-data-[content=boxed]:max-w-boxed mx-auto"> <Breadcrumb title="Analytics" pagetitle="Dashboards" /> // write the code here... </div>
Without Layout Components
(Create file in (noauthlayout) folder) <script> import HeadTitle from '../../../../common/components/HeadTitle.svelte'; </script> <HeadTitle title="Analytics" /> // write the code here...