New Page
Making a new page is incredibly simple in DashTail-Alpine. Here's an example of how to create your own custom page and set it up according to your needs.
Creating a new page
To create a new page, make a new .njk or .njk file inside the app folder. You can also create a page within a subfolder of the app folder. For instance, app/foldername/page.njk
.
src/pages/page.njk
{% extends "layout/layout.njk" %}
{% block content %}
{% import
"../templates/components/breadcrumbs.njk" as bc %}
{{ bc.breadcrumbs(["Utility", "Blank Page"]) }}
<div class="text-2xl font-medium text-default-900">Blank Page</div>
{% endblock %}
You have successfully created a new page. Please add this page to menu.