-
-
Notifications
You must be signed in to change notification settings - Fork 5
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
feat: 默认值支持 #4
Labels
good first issue
Good for newcomers
Comments
0.3.0版本已经发布, 参数名称进行了调整,详见 |
在处理fileName的时候从测试中来看和默认行为一样,目前代码中还是包含了这部分的处理。 |
vue的插件在编译的时候给组件加上了 |
好 |
0.3.2版本已经发布 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
script setup 中的 name 属性支持根据 插件选项,设置默认值。
增加的一些插件选项:
NavBar.vue
=> NavBaruser/Login.vue
=> UserLogin由于用户可能会script标签定义组件的name属性,这跟本插件设置的默认name起冲突。因此需要在script setup 增加一个开关属性 'no-default-name',如果用户手动设置了这个属性,则插件不作 defaultName 的处理。
The text was updated successfully, but these errors were encountered: