I have added the installation for adonis, but encountered some problems in the tsconfig file if adding the path alias directly to ./inertia/@/*
But I've managed to get around it and have made it to the final stage without any more problems.
My suggestion is not to have a ./src/* rule because if you run tsx shadcn init it will throw this error:
>npx shadcn@latest init
✔ Preflight checks.
✔ Verify framework. Found Vite.
✔ Validating Tailwind CSS.
✖ Validating import alias.
No import alias found in your tsconfig.json file.
Visit https://ui.shadcn.com/docs/installation/vite to learn how to set an import alias.
I have added the installation for adonis, but encountered some problems in the tsconfig file if adding the path alias directly to
./inertia/@/*
But I've managed to get around it and have made it to the final stage without any more problems.
My suggestion is not to have a
./src/*
rule because if you runtsx shadcn init
it will throw this error: