Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: components utils invalid path #1102

Open
2 tasks
brokuka opened this issue Mar 12, 2025 · 1 comment
Open
2 tasks

[Bug]: components utils invalid path #1102

brokuka opened this issue Mar 12, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@brokuka
Copy link

brokuka commented Mar 12, 2025

Reproduction

Describe the bug

{
  "$schema": "https://shadcn-vue.com/schema.json",
  "style": "default",
  "tailwind": {
    "config": "tailwind.config.js",
    "css": "assets/styles/tailwind.css",
    "baseColor": "neutral",
    "cssVariables": true,
    "prefix": ""
  },
  "aliases": {
    "components": "~/components/",
    "utils": "~/utils/lib",
    "lib": "~/utils"
  }
}

file utils.ts don't respect different name but using in created components.

System Info

------------------------------
- Operating System: Windows_NT
- Node Version:     v22.14.0
- Nuxt Version:     3.16.0
- CLI Version:      3.22.5
- Nitro Version:    2.11.6
- Package Manager:  [email protected]
- Builder:          -
- User Config:      devtools, css, features, modules, eslint, compatibilityDate
- Runtime Modules:  @nuxt/[email protected], @unocss/[email protected], [email protected], [email protected]
- Build Modules:    -
------------------------------

Contributes

  • I am willing to submit a PR to fix this issue
  • I am willing to submit a PR with failing tests
@brokuka brokuka added the bug Something isn't working label Mar 12, 2025
@zernonia
Copy link
Member

zernonia commented Apr 1, 2025

@brokuka not quite sure I understand, can you provide more info on this? Perhaps some reproduction?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants