import { useEffect } from 'react' import { useDispatch } from 'react-redux' import Subtitle from '../../../components/Typography/Subtitle' import { setPageTitle } from '../../common/headerSlice' function GettingStartedContent(){ const dispatch = useDispatch() return( <>

Getting Started

{/* Introduction */}

Introduction

A free dashboard template using Daisy UI and react js. With the help of Dasisy UI, it comes with fully customizable and themable CSS and power of Tailwind CSS utility classes. We have also added redux toolkit and configured it for API calls and state management.

User authentication has been implemented using JWT token method (ofcourse you need backend API for generating and verifying token). This template can be used to start your next SaaS project or build new internal tools in your company.

Core libraries used -

Major features -

Almost all major UI components are available in Daisy UI library. Apart from this logic has been added for following -

{/* How to Use */}

How to use?

Just clone the repo from github and then run following command (Make sure you have node js installed )
Repo Link
npm install
npm start

{/* Tailwind CSS*/}

Tailwind CSS

Tailwind CSS is a utility-first CSS framework with predefined classes that you can use to build and design the UI directly in the JSX. We have also included Daisy UI Component, that is based on tailwind CSS.

{/* Daisy UI */}

Daisy UI

Daisy UI, a popular free and opensource tailwind component library has been used for this template. It has a rich collection of components, layouts and is fully customizable and themeable.

Apart from this it also helps in making HTML code more cleaner as we don't have to include all utility classes of tailwind to make the UI. Check components documentation here. For Ex-

Creating a button

using only utility classes of tailwind

{'Button'}

using daisyUI component classes

{'\nButton'}
{/* Chart JS */}

Chart JS

Chart JS library has rich components of different charts available. It is based on Chart.js library, the most popular charting library. We have added this library and added couple of examples in seperate page.

{/* Redux Toolkit */}

Redux Toolkit

The Redux Toolkit package helps in writing redux logic easily. It was originally created to help address three common concerns about Redux:

  • Configuring a Redux store is too complicated
  • I have to add a lot of packages to get Redux to do anything useful
  • Redux requires too much boilerplate code"
  • This library has been configured and used for showing notifications, modals and loading data from API in leads page.

    {/* Hero Icons */}

    Hero Icons

    HeroIcons library has been used for all the icons in this templates. It has a rich collection of SVG icons, and is made by the makers of Tailwind CSS.

    Each icon can be imported individually as a React component, check documentation

    {"import BeakerIcon from '@heroicons/react/24/solid/BeakerIcon'"}

    Use as follows in your component

    {""}
    Note: Importing all icons in single line will increase your build time

    Don't import like this (will load all icons and increase build time)

    {"import {BeakerIcon, BellIcon } from '@heroicons/react/24/solid'"}

    Instead import as follows

    {"import BeakerIcon from '@heroicons/react/24/solid/BeakerIcon'"}
    {"import BellIcon from '@heroicons/react/24/solid/BellIcon'"}
    This is better way for importing icons
    {/* Project Structure */}

    Project Structure

    Folders -

    Files -

    ) } export default GettingStartedContent