-
-
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
[RELEASE] AdminLTE v4 beta3 #3692
Comments
This comment has been minimized.
This comment has been minimized.
This comment was marked as outdated.
This comment was marked as outdated.
This comment has been minimized.
This comment has been minimized.
Wahoo! Very exciting. Obviously, lots more to do (login pages, right hand sidebar, etc.), but great to see that this is starting. It appears to me that the BS5 changes from BS4 are not as significant as the BS3 to BS4 changes, dropping jquery of course is a big one. And changes to the data attributes to include -bs. Do you think that getting the demo to work is going to be mostly HTML to change to support bs5, or changes to the AdminLTE CSS and JS files? |
Do we have to compile using npm? Will there be compiled CSS/JS in the future? |
Same as AdminLTE v3 |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
Thanks @REJack. I will build myself and see where I can hop in. Do you have any plans to make version 3 compatible with Bootstrap 5? Or is it 3.x => BS4, 4.x => BS5? |
v3 will stuck on BS4 |
Great, too messy, especially without jQuery. |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as outdated.
This comment was marked as outdated.
In case it is helpful to anyone else I will be maintaining a distribution repo for version 4 until there is an official release: https://github.com/MGatner/adminlte4 |
This comment was marked as outdated.
This comment was marked as outdated.
AdminLTE beta1 released check out https://github.com/ColorlibHQ/AdminLTE/releases/tag/v4.0.0-beta1 |
@danny007in Is there v4 preview page? |
|
Hi guys! Cane you help me? I'm use Laravel 11 + Inertia + Vue 3 + AdminLTE 4-beta. |
JQuery is not used any more. Instead you would just use the attribute data-lte-toggle="treeview" https://adminlte-v4.netlify.app/dist/pages/docs/javascript/treeview |
So I did. The problem is that after authorization and redirect to the admin panel, which uses Adminlte, the treeview does not work, the menu items are closed and do not expand. This happens specifically in the Vue component. |
I'm guessing the the elements don't exist at the time the default code runs to get all the elements with the data-lte-toggle attribute. You then should do so in your own code. You can look at Line 114 in 4f9b29d
|
i get error: |
My import { createApp, h } from 'vue';
import { createInertiaApp } from '@inertiajs/vue3';
//import { resolvePageComponent } from 'laravel-vite-plugin/inertia-helpers';
import { ZiggyVue } from '../../vendor/tightenco/ziggy';
import '@popperjs/core';
import 'bootstrap';
import 'admin-lte';
const appName = import.meta.env.VITE_APP_NAME || 'Laravel';
createInertiaApp({
title: (title) => `${title} - ${appName}`,
//resolve: (name) => resolvePageComponent(`./V1/Pages/**/${name}.vue`, import.meta.glob('./V1/Pages/**/*.vue')),
resolve: name => {
const pages = import.meta.glob('./V1/Pages/**/*.vue', { eager: true })
let page;
if (name.startsWith('Admin')) {
page = pages[`./V1/Pages/Admin/${name}.vue`]
} else {
page = pages[`./V1/Pages/Site/${name}.vue`]
}
return page
},
setup({ el, App, props, plugin }) {
return createApp({ render: () => h(App, props) })
.use(plugin)
.use(ZiggyVue)
.mount(el);
},
progress: {
color: '#4B5563',
},
}); |
You don't. You use it as an example and update your code that makes the menu and adds an event listener/treeview to the items. |
It's working in vue component: export default {
mounted() {
this.initAdminLTE();
},
methods: {
initAdminLTE() {
const script = document.createElement('script');
script.src = '/admin-lte/adminlte.min.js';
script.onload = () => {
window.AdminLTE && window.AdminLTE.Treeview();
};
document.head.appendChild(script);
}
}
} |
That's right. Bootstrap 6 may arrive, but it will take a long time,This is an open source project, and if we want Adminlte to keep up with Bootstrap, I think we should need more people to participate and contribute. If we just keep asking, I don't think there will be much progress |
Regarding this point, for Composer users, it seems that they can only obtain the source code because I observed that adminlte ignored the dist directory . Composer is different from NPM. When NPM releases, it can only publish the dist directory, while Composer seems to only download the content of the tag tag, so it can only obtain the source code? What do you think about this? If you don't want to break the status quo, you may need to explain this in the document |
This is the best reply I've seen. The spirit of collaboration is indeed the most important aspect of open-source projects. |
Just Released adminlte-4.0.0-beta2 |
in next release i have decided to release compiled dist folder also any suggestions |
Is there any chance that |
|
First, delighted to see this moving! I've started migrating one of my projects to 4.0.0-beta2 today, and I'm happy so far, good job! I use my own theme colors and after some tweaking and updating I got this (#2687) method working on the new build system. |
Is there a CDN available? |
Hello, I am working with AdminLte 4.0.0-beta2 in vuejs 3.5. But I have a problem when loading the Adminlte scripts, since the sidebar toggle does not work, for example. Can you explain to me if I'm doing something wrong or what? This would be the reference source code. import 'bootstrap' That is when installing the package: npm i admin-lte ` |
In AdminLTE v4 Beta 3, we plan to include the compiled dist folder based on valuable feedback received. Do you have any suggestions? |
I am hoping that once it is out, in an easily usable format that people feel comfortable using then we can start getting some good feedback. But to be honest I feel like a lot of the base for this template have moved on due to how long it has taken to come out. I hope I am wrong but based on the comments over the last few years I think it has lost some people. I hope we can bring them back, but time will tell. The hard part with anything technical is that it all moves so fast, and even more so now these days. This project needs more contributors to keep it moving at the speed of technology. Can't wait for some of the releases to be put out and start seeing some feedback from users. It has been a while since I brought any changes into my project using it as I added custom code to handle things I specifically needed and will have to go back and try and remember what all that was. Don't look forward to that and really don't have time to do it as I have to get the product release in a few months. |
Not at the moment. But thank you very much. |
Ok. Thank you verymuch. |
Release Please Test and Give Feedback |
(Beta)-Release is online, you can install it with
npm install admin-lte@latest
ornpm install [email protected]
.Online https://adminlte-v4.netlify.app
Check https://github.com/ColorlibHQ/AdminLTE
Install
npm i
for this you need Node,jsto build
npm run production
to run
npm run dev
then open go to http://localhost:3000/
then give some idea, or contribute 👍🏼
The text was updated successfully, but these errors were encountered: