-
-
Notifications
You must be signed in to change notification settings - Fork 26
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
[Bug] v-btn text prop wrongly converted to variant="text" #59
Comments
This plugin is only really intended to be used for migration from v2-v3, not for existing v3 projects. |
Well, I find it useful to keep using it, so I can prevent accidentally using my old knowledge of Vuetify 2. |
Suppose you started converting your code from v2 to v3 manually and only later discovered this plugin. You wouldn't want the plugin to suddenly remove your button texts. |
|
No easy way to distinguish boolean variables from string variables? If not, I'll figure something out. It's not a biggie. |
Not variables. Static strings is possible, the way rules are defined internally though is just I could add a config like |
@KaelWD the ignore config would be great! |
One solution would be to make this a special case at the The ignore config would also be helpful. |
Another option would be something like |
When I try to use the new text prop of
v-btn
(<v-btn text="Click me!" />
) it gets converted to<v-btn variant="text" />
.The conversion should only occur for
<v-btn text />
or<v-btn :text="true" />
.The text was updated successfully, but these errors were encountered: