Documentation

Dompet - React (Vite) Admin Dashboard Template

Dompet

Dompet - React (Vite) Admin Dashboard Template

Dompet is a popular open source WebApp template for admin dashboards and admin panels. It utilizes all of the react-bootstrap components in design and re-styles many commonly used plugins to create a consistent design that can be used as a user interface for backend applications.

Thank you for purchasing this Vite template.

If you like this template, Please support us by rating this template with 5 stars


Installation -

1.- Install npm

It will create 'node_module' folder in this all dependency files will be install with this command. npm install

npm install

2.- Run Project

With is command file will be compiled and it will be loaded on local server `http://localhost:5173`.npm run dev

npm run dev

3.- Production Build

Builds the app for production to the `build` folder. Run the following command in your terminal. npm run build

npm run build

4.- Further help

You can learn more in the Vite Documentation To learn Vite.


Sass Compile -

1.- Install Node-Sass

Node-sass is an NPM package that compiles Sass to CSS (which it does very quickly too). To install node-sass run the following command in your terminal: npm install node-sass

npm install node-sass

2.- Write Node-sass Command

Everything is ready to write a small script in order to compile Sass. Open the package.json file in a code editor. You will see something like this:

In the scripts section add an scss command

"scripts": {
  "sass": "node-sass --watch src/assets/scss/main.scss src/assets/css/style.css --source-map src/assets/css/style.css.map"
},

3.- Run the Script

To execute our one-line script, we need to run the following command in the terminal: npm run sass

npm run sass

Folder Directories -

  • public
    • favicon.ico
  • src
    • assets
      • css
      • icons
        • avasta
        • feather
        • flaticon
        • font-awesome-old
        • helveticaNeue
        • icomoon
        • line-awesome
        • material-design-iconic-font
        • simple-line-icons
        • themify-icons
      • images
        • avatar
        • big
        • browser
        • card
        • contact
        • demo
        • pattern
        • product
        • profile
        • tab
        • table
      • scss
        • abstracts
        • base
        • components
          • app
          • charts
          • forms
          • ico
          • map
          • tables
          • uc
          • ui
          • widget
        • layout
          • footer
          • header
          • rtl
          • sidebar
          • theme
          • typography
          • version-dark
          • version-transparent
        • pages
        • main.scss
    • context
      • ThemeContext.js
    • jsx
      • components
        • AppsMenu
        • bootstrap
        • charts
        • chatBox
        • Dashboard
        • Forms
        • PluginsMenu
        • table
      • layouts
        • nav
          • Header.jsx
          • NavHader.jsx
          • SideBar.jsx
        • ChatBox
        • EventSidebar.jsx
        • Footer.jsx
        • PageTitle.jsx
        • Setting.jsx
      • pages
        • Error400.jsx
        • Error403.jsx
        • Error404.jsx
        • Error500.jsx
        • Error503.jsx
        • LockScreen.jsx
        • Login.jsx
        • Registration.jsx
        • Widget.jsx
      • index.jsx
    • services
      • AuthService.jsx
      • AxiosInstance.jsx
      • PostsService.jsx
    • store
      • actions
      • reducers
      • selectors
      • store.js
    • App.jsx
    • main.jsx
  • index.html
  • package-lock.json
  • package.json
  • vite.config.js

Theme Features -

Layout is controlled by layout settings inside src/context/ThemeContext.jsx


<!-- Default layout  -->
<body 
    data-typography="cairo" 
    data-theme-version="light" 
    data-layout="vertical" 
    data-nav-headerbg="color_1" 
    data-headerbg="color_1" 
    data-sidebar-style="full"  
    data-sidebarbg="color_1"  
    data-sidebar-position="fixed" 
    data-header-position="fixed" 
    data-container="wide" 
    direction="ltr" 
    data-primary="color_1" 
>

Color Theme -

So many color option available

  • color_1
  • color_2
  • color_3
  • color_4
  • color_5
  • color_6
  • color_7
  • color_8
  • color_9
  • color_10
  • color_11
  • color_12
  • color_13
  • color_14
<!-- Template Layout One  -->
<body 
    data-typography="cairo" 
    data-theme-version="light" 
    data-layout="vertical" 
    data-nav-headerbg="color_3" 
    data-headerbg="color_1" 
    data-sidebar-style="full"  
    data-sidebarbg="color_3"     
    data-sidebar-position="fixed" 
    data-header-position="fixed" 
    data-container="wide" 
    direction="ltr" 
    data-primary="color_1" 
>
<!-- Template Layout Two  -->
<body 
    data-typography="cairo" 
    data-theme-version="light" 
    data-layout="vertical" 
    data-nav-headerbg="color_4" 
    data-headerbg="color_1" 
    data-sidebar-style="compact"  
    data-sidebarbg="color_4"     
    data-sidebar-position="fixed" 
    data-header-position="fixed" 
    data-container="wide" 
    direction="ltr" 
    data-primary="color_4" 
>
  <!-- Template Layout Three  -->
  <body 
	  data-typography="cairo" 
	  data-theme-version="light" 
	  data-layout="vertical" 
	  data-nav-headerbg="color_7" 
	  data-headerbg="color_1" 
	  data-sidebar-style="full"  
	  data-sidebarbg="color_7" 
	  data-sidebar-position="fixed" 
	  data-header-position="fixed" 
	  data-container="wide" 
	  direction="ltr" 
	  data-primary="color_7" 
  >
  
  <!-- Template Layout Four  -->
  <body 
	  data-typography="cairo" 
	  data-theme-version="dark" 
	  data-layout="vertical" 
	  data-nav-headerbg="color_3" 
	  data-headerbg="color_1" 
	  data-sidebar-style="full"  
	  data-sidebarbg="color_3" 	  
	  data-sidebar-position="fixed" 
	  data-header-position="fixed" 
	  data-container="wide" 
	  direction="ltr" 
	  data-primary="color_1" 
  >
  
  <!-- Template Layout Five  -->
  <body 
	  data-typography="cairo" 
	  data-theme-version="light" 
	  data-layout="horizontal" 
	  data-nav-headerbg="color_1" 
	  data-headerbg="color_1" 
	  data-sidebar-style="full"  
	  data-sidebarbg="color_5"  
	  data-sidebar-position="fixed" 
	  data-header-position="fixed" 
	  data-container="wide" 
	  direction="ltr" 
	  data-primary="color_5" 
  >
  
  <!-- Template Layout Six  -->
  <body 
	  data-typography="cairo" 
	  data-theme-version="light" 
	  data-layout="vertical" 
	  data-nav-headerbg="color_3" 
	  data-headerbg="color_1" 
	  data-sidebar-style="mini"  
	  data-sidebarbg="color_10"  
	  data-sidebar-position="fixed" 
	  data-header-position="fixed" 
	  data-container="wide" 
	  direction="ltr" 
	  data-primary="color_1" 
  >
  
  <!-- Template Layout Seven  -->
  <body 
	  data-typography="cairo" 
	  data-theme-version="light" 
	  data-layout="vertical" 
	  data-nav-headerbg="color_1" 
	  data-headerbg="color_1" 
	  data-sidebar-style="compact"  
	  data-sidebarbg="color_1"  
	  data-sidebar-position="fixed" 
	  data-header-position="fixed" 
	  data-container="wide" 
	  direction="ltr" 
	  data-primary="color_6" 
  >
  
  <!-- Template Layout Eight  -->
  <body 
	  data-typography="cairo" 
	  data-theme-version="light" 
	  data-layout="vertical" 
	  data-nav-headerbg="color_15" 
	  data-headerbg="color_1" 
	  data-sidebar-style="icon-hover"  
	  data-sidebarbg="color_15"  
	  data-sidebar-position="fixed" 
	  data-header-position="fixed" 
	  data-container="wide" 
	  direction="ltr" 
	  data-primary="color_15" 
  >
  

Credits -


Project Main Features -

  • Vite
  • Redux
  • Bootstrap
  • Built in SASS
  • Node v20.11.1
  • Fully Responsive
  • Ready to used widget
  • Detailed Documentation
  • Attractive Calendar
  • Invoice
  • User Profile
  • Timeline
  • CkEditor
  • Form Examples
  • Many Charts Options
  • Form Validation
  • Input Slider
  • Advanced Form Elements
  • Form Wizard
  • Social
  • Bootstrap
  • Datatable
  • Table Sorting
  • React Table
  • Date Picker
  • Sweetalert
  • Toaster
  • Light Gallery
  • Scroll
  • Chatbox
  • Router

main.jsx Structure

import React from "react";
import ReactDOM from "react-dom/client";
import App from "./App";
import { BrowserRouter } from 'react-router-dom';
import {Provider} from 'react-redux';
import {store} from './store/store';
import ThemeContext from "./context/ThemeContext";

ReactDOM.createRoot(document.getElementById('root')).render(
<React.StrictMode>
 <Provider store = {store}>
  <BrowserRouter basename='/'>
   <ThemeContext>
    <App />
   </ThemeContext>
  </BrowserRouter>
 </Provider>
</React.StrictMode>,
)

Create a Page

import React from "react";
export function MyPage() {
  return(
   <h1>Hello!</h1>
  ) 
} 							
					

Do You Need Help To Customization

After Purchase A Template...

You Will Start Customizing According Your Requirement
BUT What If You Don't Know

SOLUTION IS HIRE DexignLabs

Hire Same Team For Quality Customization

  • We Will Customize Template According To Your Requirement
  • We Will Upload On Server And Make Sure Your Website is Live

Version History - #back to top

09 July 2024

  • New - Created & Upload Dompet