0

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. The file folder explorer along with various .config files.

1 Answer 1

0

Add alias for ui in your components.json as bellow

{
  "aliases": {
    "ui": "src/renderer/src/components",
    "utils": "src/utils"
  }
}

Your can learn more here

Not the answer you're looking for? Browse other questions tagged or ask your own question.