I tried both laravel docs as well github updated repo but both are failed
github repo just used pre compiled bundles but when i switch to vite version getting broken layout and js error.
the problem inside the src. kindly fix it as soon as possible.
Encountering Laravel error 9.2.0 challenged me to dive deeper into debugging best practices. I learned that this best software training institute in kochi version requires careful attention to dependencies and configuration. Troubleshooting with updated documentation and community forums helped me resolve issues efficiently, enhancing my overall understanding of Laravel’s evolving framework nuances.
Hi
/* Tailwind core */
@import "tailwindcss";
/* Tailwind scan sources */
@source "../../../node_modules/@keenthemes/ktui/src/";
/* Theme configs */
@import "./config.ktui";
/* KTUI styles */
@import "../../../node_modules/@keenthemes/ktui/styles.css";
/* Metronic components */
@import "./components/index";
/* Demos */
@import "./demos/demo1.css";
Hi Faisal,
Please run the following command to upgrade to the latest version of @keenthemes/ktui:
npm upgrade @keenthemes/ktui
Hi, now no js error but getting unstyled layout, I updated styles.css file from metronic/css/styles.css
/* Tailwind core */
@import "tailwindcss";
/* Tailwind scan sources */
@source "../../dist/assets/vendors/ktui/";
/* Theme configs */
@import "./config.ktui";
/* KTUI styles */
@source "../../../node_modules/@keenthemes/ktui/src/";
/* Metronic components */
@import "./components/index";
/* Demos */
@import "./demos/demo1.css";
Hi,
We have pushed a Vite fix for KtUI. Can you please try the latest '@keenthemes/ktui' package ?
More info:
https://github.com/keenthemes/ktui/issues
Regards,
Sean
Its not working getting another error
Error: Failed to scan for dependencies from entries:
F:/Web/metronic/resources/js/app.js
X [ERROR] Missing "./src/index" specifier in "@keenthemes/ktui" package [plugin vite:dep-scan]
Please make a fix and update the laravel integration docs. make sure you are not including pre build files in html file. it should use vite build.
css error as well
[plugin:@tailwindcss/vite:generate:serve] Can't resolve '../../node_modules/@keenthemes/ktui/styles.css' in 'F:\Web\metronic\resources\metronic\css'
hello! i have the same error