Fernando
Fernando
WWasp-lang
Created by Fernando on 10/20/2023 in #đŸ™‹questions
Unsure about how to add shadcn/ui to Wasp
I added a vite.config.ts to my src/client with this content:
import path from "path";
import { defineConfig } from "vite";

export default defineConfig({
resolve: {
alias: {
"@": path.resolve(__dirname, "./src"),
},
},
});
import path from "path";
import { defineConfig } from "vite";

export default defineConfig({
resolve: {
alias: {
"@": path.resolve(__dirname, "./src"),
},
},
});
But, since I don't have a package.json, I can't run npx shadcn-ui@latest init. What should I do? Edit: if for some reason it's difficult to do so, I would also be interested in Preline.
10 replies