Reputation: 1070
As you can see I have two src/components (assets), one is in the root, the other in the /renderer. The root one was created when I added resizable components via "npx shadcn-vue@latest add resizable" (I think). Doesn't feel right. Somebody please explain how the paths should be in such configuration (Electron app using shadcn/vue) so that I can add shadcn components and properly import them. Or if you have some useful guiding links.
Upvotes: 0
Views: 584
Reputation: 848
Add alias for ui
in your components.json
as bellow
{
"aliases": {
"ui": "src/renderer/src/components",
"utils": "src/utils"
}
}
Your can learn more here
Upvotes: 0