Setup CoreUI Dashboard in 5 MinutesSetup CoreUI Dashboard in 5 Minutes

Hello everyone, welcome back to my blog therichpost.com. Guys today in this blog I will Setup CoreUI Dashboard in 5 Minutes.

Live Demo

For react js new comers, please check the below links:

  1. Reactjs Tutorials
  2. Nextjs
  3. Bootstrap 5
  4. React Free Ecommerce Templates
  5. React Free Admins

Guys to achieve this quickly do the following steps:



πŸ“ Download CoreUI React Dashboard:
➑️ https://coreui.io/react/

πŸ’» Commands used in this video:
npm create vite@latest react-dashboard  
cd react-dashboard  
npm install  
npm install @coreui/react @coreui/coreui @coreui/icons @coreui/icons-react @coreui/react-chartjs @coreui/utils bootstrap chart.js react-router-dom react-redux redux simplebar-react classnames  
npm install -D sass-embedded  
npm run dev  


πŸ‘‰ More Dashboards & UI Tutorials:
https://www.youtube.com/@DashboardsUIwithAjay

Comment β€œDONE βœ…β€ if your setup worked β€” I’ll heart your comment ❀️

Here is the code we need to add insice src/main.jsc file and remove src/index.js file:

import React from 'react'
import ReactDOM from 'react-dom/client'
import App from './App.jsx'
import './scss/style.scss'
import './scss/examples.scss'

import { Provider } from 'react-redux'
import store from './store.js'


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

Also guys add below code inside index.html file:


<!doctype html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
     <link rel="shortcut icon" href="/favicon.ico">
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>react-dashboard</title>
  </head>
  <body>
    <div id="root"></div>
    <script type="module" src="/src/main.jsx"></script>
  </body>
</html>

Awesome! Your React Admin Dashboard is now live.

If you want more dashboard templates and UI tutorials, don’t forget to like this video, subscribe.

Thanks for watching β€” see you in the next one!”

Ajay

Thanks

By therichpost

Hello to all. Welcome to therichpost.com. Myself Ajay Malhotra and I am freelance full stack developer. I love coding. I know WordPress, Core php, Angularjs, Angular 19, MedusaJs, Next.js, Bootstrap 5, Nodejs, Laravel, Codeigniter, Shopify, Squarespace, jQuery, Google Map Api, Vuejs, Reactjs, Big commerce etc.