How to create a new page
Just create a new .js/jsx
file in src/views
folder. For example you can use src/about.jsx
.
WARNING
If you want to create a new page then you need to add the page to the src/App.jsx
file.
Step.1 : Creating a new page
Create a new .html/njk
file in the src/pages
folder. You can use src/about.njk
.
html
<div class="about">
<h1>About</h1>
</div>