-
-
Notifications
You must be signed in to change notification settings - Fork 18.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to use in React? #5737
Comments
I am also working on a new application using React + Vite. If you'd like, we can collaborate and help each other. |
I've tried different solutions but eventually i switched to a different theme that i already used in the past and i was familiar with. But I'll still be curious to know if someone figures it out. |
@CavaliereDavid @stesvis having the same problem, I tried to use version 4 with Next and Vite and I couldn't handle it, I had to downgrade to AdminLTE 3.2 to use it with React + Vite |
I found a way to use the latest version with React (ts) and vite. However, I am not sure if AdminLTE is the right answer for my needs after tinkering with It. If you need help, I am available. |
nice man, if you found a way I would like to learn from you, how can we do a meet or whatever, you just tell me |
Ok let's do It now: https://meet.jit.si/UnfairTitlesSitTogether |
AdminLTE with React and Vite: A Comprehensive GuideThis guide will help you get started using AdminLTE with React, specifically in a Vite project. AdminLTE provides a responsive and customizable admin dashboard template built on top of Bootstrap, and here we will walk through the process of integrating it with React. Prerequisites
Step 1: Create a New Vite ProjectTo start, we'll create a new React project using Vite. Vite is a modern build tool that provides fast and optimized development.
Step 2: Install AdminLTEAdminLTE has recently made the transition from Bootstrap 4 to Bootstrap 5, and as of version 4.0.0-beta2, jQuery has been removed. This is a major update, and it is recommended to start using the latest beta version to avoid vulnerabilities in the LTS version.
npm i admin-lte This will add AdminLTE as a dependency in your Step 3: Include AdminLTE Assets in
|
Really useful bro, thanks a lot man @CavaliereDavid |
I created a react app, and installed AdminLTE with
npm i admin-lte
and everything is innode_modules
.How can i now use the theme (like use the css classes etc) without copying the
dist
folder to thepublic
folder?The text was updated successfully, but these errors were encountered: