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

项目目录存在英文括号(),AutoComponents本地运行异常 #822

Open
5 tasks done
LJS-Y opened this issue Feb 7, 2025 · 0 comments · May be fixed by #832
Open
5 tasks done

项目目录存在英文括号(),AutoComponents本地运行异常 #822

LJS-Y opened this issue Feb 7, 2025 · 0 comments · May be fixed by #832

Comments

@LJS-Y
Copy link

LJS-Y commented Feb 7, 2025

Describe the bug

项目目录存在英文括号(),AutoComponents本地运行异常

import AutoComponents from 'unplugin-vue-components/rspack';
AutoComponents({
    // 自动加载组件的目录配置,默认的为 'src/components'
    dirs: ['src/components'],
    // 组件支持的文件后缀名
    extensions: ['vue', 'jsx', 'tsx'],
    dts: false,
    resolvers: [
      ElementPlusResolver({
        importStyle: 'scss',
      }),
    ],
  }),

src/components组件无法自动加载。

Reproduction

项目(北京)/web

System Info

rsbuild构建vue3项目。

Used Package Manager

npm

Validations

  • Follow our Code of Conduct
  • Read the Contributing Guide.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
  • The provided reproduction is a minimal reproducible of the bug.
codelzb added a commit to codelzb/unplugin-vue-components that referenced this issue Feb 28, 2025

Unverified

This user has not yet uploaded their public signing key.
Fixed a bug that contained parentheses in the win path
@codelzb codelzb linked a pull request Feb 28, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant