radix-vue / radix-vue

Vue port of Radix UI Primitives. An open-source UI component library for building high-quality, accessible design systems and web apps.
https://radix-vue.com
MIT License
2.77k stars 150 forks source link

[Bug]: ESLint unable to resolve the import when using Namespaced components #925

Closed Destiner closed 2 weeks ago

Destiner commented 2 weeks ago

Environment

Developement/Production OS: macOS Sonoma 14.4.1
Bun version: 1.1.0
Package manager: bun@1.1.0
Radix Vue version: 1.7.4
Vue version: 3.4.27
Client OS: macOS Sonoma 14.4.1
Browser: Safari 17.4.1

Link to minimal reproduction

https://github.com/Destiner/radix-vue-namespaced-exports

Steps to reproduce

  1. Install dependencies with bun i
  2. Run ESLint with bun run lint

Describe the bug

ESLint throws with error Unable to resolve path to module 'radix-vue/namespaced' import/no-unresolved.

Expected behavior

ESLint shouldn't throw any errors.

Context & Screenshots (if applicable)

No response