Closed
Description
- I'm submitting a ...
- bug report
- Do you want to request a feature or report a bug?
a bug
- What is the current behavior?
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 )
NuxtServerError
Module build failed: Error: Lexical error on line 1. Unrecognized text. 100% - ($field-switch-height --------^ at Parser.parseError ...
this error also prevents the "switch" componet of a form from displaying properly, like rendered in this demo of vue-form-generator demo
- What is the expected behavior?
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 demo
-
Please tell us about your environment:
- Version: [2.2.2 ]
- Browser: [all ]
- Language: [ES6/7 | ES5]