Open SidakVats opened 1 week ago
While installing the packages npm install clsx tailwind-merge framer-motion
is a correct step to go, installing magicui as a package is not possible (at time of writing). When you install the specified package, create and paste the lib/utils.ts
file content, you are to create a file path in your folder for the preferred ui you wish to use, copy and paste the source code into the ui file on your project and you can use it how you want.
Can you please guide me how to use magic ui. I have done the following steps to setup but failed:
1.) npm install clsx tailwind-merge framer-motion (i have tailwind css installed already) 2.) set up this code: // src/lib/utils.js import clsx, { ClassValue } from "clsx"; import { twMerge } from "tailwind-merge";
3.) npm install magic-ui 4.) Then i have added a component to my app.js
5.) While running the command npm i magic-ui I encounter this error:
It says that magic-ui is not installed on my pc.
I have python, installed visual studio c++ development kit and even tryed lower version of npm but magic-ui is not working.
kindly plz help.🙏🙏