-
Notifications
You must be signed in to change notification settings - Fork 532
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
unparsed sass variable from fieldSwitch in vfg.css #449
Comments
This bug appears to be present in every release version of VFG 2.x. The $field-switch-height variable is defined and is parsed properly in the rest of the SASS for the component, so I'm guessing the The switch component appears to work fine in the JSFiddle examples, using the v2.2.2 release so this bug appears to be a compile-time issue? Looks like we can just remove the $field-switch-height variable from the |
Out of curiosity, where is the source file for vue-form-generator/dist/vfg-core.css at or is coming from? I'm unable to find it in this repo. |
The CSS is compiled from the various style tags of the components and merged. This bug is the fieldSwitch.vue file |
closes #449 - converted `$field-switch-height` to `30px` in `calc()` call
* master: closes vue-generators#449 - converted `$field-switch-height` to `30px` in `calc()` call
a bug
dist/vfg.css
contains an unparsed variable$field-switch-height
see: https://github.com/vue-generators/vue-form-generator/blob/v2.2.2/dist/vfg.css
which means importing this stylesheet into a vue component like:
import "vue-form-generator/dist/vfg-core.css"
throws an error (in my case, I'm using vue.js via the nuxt.js framework )
this error also prevents the "switch" componet of a form from displaying properly, like rendered in this demo of vue-form-generator demo
expecting the css file
vue-form-generator/dist/vfg-core.css
to import without error, and for the Switch component to render like in the vue-form-generator demoPlease tell us about your environment:
The text was updated successfully, but these errors were encountered: