Documentation

Omah - React (Vite) Property Admin Dashboard Template

Omah

Real Estate Admin Dashboard Template

Thank you for purchasing this React template.

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


Installation & Setup -

1.- Install Node.js

To compile Sass via the command line first, we need to install node.js. The easiest way is downloading it from the official website nodejs.org open the package and follow the wizard.

2.- NPM Install

NPM is the Node Package Manager for JavaScript. NPM makes it easy to install and uninstall third party packages. To initialize a Sass project with NPM, open your terminal and CD (change directory) to your project folder.

npm install

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

3.- 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
4.- Production Build

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

npm run build

Sass Compile -

1.- Install Sass

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

npm add -D sass 

2.- Write 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": "sass --watch src/assets/scss/main.scss src/assets/css/style.css",
},

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 -

  • images

    This folder contains all the images of Omah template.

  • fonts

    This folder font files for various template features.

  • css

    This folder contains all the CSS files of Omah template.

  • component

    This folder has all component files.

  • jsx

    This folder has all file used in the template.

  • scss

    Scss File


Folder Structure -

  • 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

Credits -

List of web development libraries and plugins:


Project Main Features -

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

Main Content -

main.jsx Structure File

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 Page -

Exmaple to create page

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

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 DexignZone

Hire Same Team For Quality Customization

In Order To Ensure Your Website Is Live, We Will Customize The Template According To Your Requirements And Upload It to the Server.

Version History - #back to top

v1.0 - 20 September 2024
    1. New - Created & Upload Omah