Able Pro
NextJS
NextJS
  • ✨Overview
  • 🌴Pre-requisites
  • 🚀Quick Start
  • 📂Folder Structure
  • 🌀State Management
  • 🔒Authentication
  • 📡Axios API Calls
  • 🌐Internationalization
  • 🛠️Project Configuration
  • 🎨Color Presets
  • 🎭Theme/Style Configuration
  • 📚How to
    • Login as First Page
    • Dashboard as First Page
    • Remove menu render from Backend
    • Render Menu from the backend
    • Remove Auth
  • 🖌️Figma
  • 🤝Integration
    • Seed
    • Comparison
  • 📦Dependencies
  • 🗓️Roadmap
  • 🆘Support
  • 📅Changelog
Powered by GitBook
On this page
  1. How to

Dashboard as First Page

How to set Dashboardas First page instead landing

This section explains how to set the Dashboard page as the default starting page, skipping the landing page, for cases where it is not needed.

  • Update the route to full-version/src/app/page

src/app/page.tsx
// PROJECT IMPORTS
import DashboardLayout from 'layout/DashboardLayout';
import DashboardDefault from 'views/dashboard/DashboardDefault';

export default function Landing() {
 return (
  <DashboardLayout>
    <DashboardDefault />
  </DashboardLayout>
 );
}
src/app/page.jsx
// PROJECT IMPORTS
import DashboardLayout from 'layout/DashboardLayout';
import DashboardDefault from 'views/dashboard/DashboardDefault';

export default function Landing() {
 return (
  <DashboardLayout>
    <DashboardDefault />
  </DashboardLayout>
 );
}

Disabling authentication within the system would render certain applications non-functional, particularly those reliant on backend APIs. These applications require a valid token to access and load data seamlessly.

PreviousLogin as First PageNextRemove menu render from Backend

Last updated 2 months ago

📚