Thanks to visit codestin.com
Credit goes to github.com

Skip to content

how to add prefix with src/components or dirs ? #372

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

Open
wvq opened this issue Apr 30, 2022 · 2 comments
Open

how to add prefix with src/components or dirs ? #372

wvq opened this issue Apr 30, 2022 · 2 comments

Comments

@wvq
Copy link

wvq commented Apr 30, 2022

src/components 里面的组件,想生成时加个前缀,用于区分是包的组件还是自定义的组件。

看了一下配置没有找到方案,有在Component里面设置了name,但生成的dts, 依然使用的文件名来命名了。

@zhaoyunyes
Copy link

我是直接在文件名上就加上前缀了。

@Delevin888
Copy link

确实没找到方案。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants