I download the latest metronic 8.3.1 for laravel, I notice some function is missing e.g this is 8.1.9, they have config/menu.php
https://preview.keenthemes.com/metronic8/laravel/documentation/getting-started/changelog?demo=demo1
and latest documentation, a lot CRUD, helper and function is missing? https://preview.keenthemes.com/laravel/metronic/docs/index
Should I use 8.1.9 version slowly upgrade patch, or do you have one for full version of 8.3.1. I am confuse for it
Hi
Sorry for the delay in response. This 2 versions have breaking changes. The config/menu.php file doesn't exist in this version. Instead, the menu is structured differently:
Menu Location: The menu is defined in Blade templates at: resources/views/layout/partials/sidebar-layout/sidebar/_menu.blade.php
Menu Structure: The menu uses Laravel's route-based approach with:
Second issue, this is seems to be caused by conflicting JavaScript files during the build process. Here's the solution:
npm cache clean --force rm -rf node_modules package-lock.json rm -rf public/assets/* npm install npm run dev
Hi Faizal,
I use your method
npm cache clean --force
rm -rf node_modules package-lock.json
rm -rf public/assets/*
npm install
npm run dev document.addEventListener('livewire:navigated', callback);sign-in/general.js the init function call twice// Public functions
return {
// Initialization
init: function () {
...
} If I want to add own custom css, where should I add to? and it allow to compile together with npm run prod or npm run dev
e.g
.my-class-red{
color:red;
}
Hi
Recommended locations to add your custom CSS in the Laravel Metronic v8 project.
Primary Location (Recommended): Create a custom SCSS file in the components directory: resources/_keenthemes/src/metronic/demo1/sass/components/_custom.scss
Then add your custom styles:
Add this import to resources/_keenthemes/src/metronic/demo1/sass/components/components.scss at the end:
@import "custom"; resources/_keenthemes/src/metronic/demo1/sass/components/_variables.override.scssCan anyone explain it? I am stuck at here didn't find much information about the version change. is it normal 8.3.1 or I missing something?