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

自动生成的文件添加注释,提供主动触发命令 #2

Open
lesonky opened this issue Apr 21, 2023 · 1 comment
Open

自动生成的文件添加注释,提供主动触发命令 #2

lesonky opened this issue Apr 21, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@lesonky
Copy link

lesonky commented Apr 21, 2023

views下的一级目录,什么时候会被抽取到 type 中,什么时候会被忽略。
抽取动作什么时候出发。
我在views下建一个目录,type 文件自动刷新,把我的一级目录丢了,导致页面报错。

建议:
1 自动生成的文件请在文件开头加上注释,表示这个文件是自动生成的
2 提供主动触发命令

@honghuangdc
Copy link
Member

routeNameTansformer 这个api是转换路由名称的,默认是以_开头的目录名称在路由名称里面会被替换成空字符串
pageGlobs 可以设置那些文件会被转换成路由

@honghuangdc honghuangdc reopened this Jun 7, 2023
@honghuangdc honghuangdc added the enhancement New feature or request label Jun 7, 2023
@honghuangdc honghuangdc changed the title 类型的抽取规则是什么,有时候一级目录不会被抽取到 自动生成的文件添加注释,提供主动触发命令 Jun 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants