Hi everyone,
I'm not an expert in Metronic, especially not the React version. I'm on version 9.2.1 and would like to update to the latest version without losing the changes I've made.
Can anyone help me with a step-by-step guide on how to update?
Thank you.
Hi,
You can download the latest version v9.2.3 and easily update your app by replacing the "src/componets/ui" folder by referring to
https://docs.keenthemes.com/metronic-react/getting-started/changelog
Globally replace "close" prop with "showCloseButton" for Dialog components.
More info please refer https://www.reui.io/docs/changelog
Regards,
Sean
Hi Sean!
I replaced the src/componets/ui and now I got an error:
[plugin:vite:import-analysis] Failed to resolve import "radix-ui" from "src/components/ui/button.tsx". Does the file exist?
C:/TradeHubReact/src/components/ui/button.tsx:4:38
17 | import { cva } from "class-variance-authority";
18 | import { ChevronDown } from "lucide-react";
19 | import { Slot as SlotPrimitive } from "radix-ui";
| ^
20 | import { cn } from "@/lib/utils";
21 | const buttonVariants = cva(
Should I run a Yarn or something at the project folder?