If I use es11 syntax then it will not work in low version browsers.
How do I go about downgrading the js in this case?I tried writing the loader and using babel, but babel thinks the file is jsx.
Is there any other way? Or does vue-template-loader support syntax degradation?
My template file contains only templates,like:
If I use es11 syntax then it will not work in low version browsers. How do I go about downgrading the js in this case?I tried writing the loader and using babel, but babel thinks the file is jsx. Is there any other way? Or does
vue-template-loader
support syntax degradation?