-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Error in ie 11 SCRIPT1003: Expected ':' #439
Comments
Hi @rowanwins, |
Hi @czbas23 & @RomanNalapko You should be able to find some suggestions to support IE11 in this issue Regards, |
I use Laravel not has file vue.config.js. I use .babelrc, how can I fix the problem? |
@rowanwins Thanks for advice, but I'm not using vue-cli. |
Can you try |
babel/polyfill does not help |
I have to downgrade to 3.5.1 for it to work. -- EDIT -- |
All good @rosdi :) I understand that it would be good for it to work, we just need to find a repeatable way for people to do it.. |
I believe I have a fix for this. Here's my config using Webpack 4 and Babel 7. You'll have to adjust for earlier versions of either. babel.config.js
Inside module:rules: in webpack.config.js
|
Thanks for sharing @jsodeman |
First off thanks @rowanwins this is a great wrapper for dropzone, so much nicer to use in our Vue app. Like @rosdi I've also had to drop back to 3.5.1 to ensure everything works on IE. This isn't really a problem for us but I am just wandering if IE compatibility is on the road map for future releases? |
Same problem here, would be nice to get a fix for this in the new version. |
Hi @thatdoorsajar & @lenvanessen A fix would indeed be great. Unfortunately I'm now operating on a mac and so IE11 testing is a bit trickier. I'm open to a PR if someone can identify a resolution. |
This is because |
Having the same issue as @RomanNalapko with the version |
+1 to fix this, thank you very much for your awesome dropzone wrapper! |
+1. Build into |
have the same issue in IE 11 with react-babel app |
Rolling back to 3.5.1 worked for me |
@jsodeman's solution indeed fixed the untranspilled code and it is working in ie 11 |
Nuxt also same issue , tried to build: { |
I've had to do this: in
As you can see above, initially rolling back worked, until it didn't... |
@Paul-Cl-ark , after adding in transpile dep .component stopped working for me. Failed to mount component: template or render function not defined. |
How are you registering it?
|
@Paul-Cl-ark .same way only . i tried adding in transpile for babel but i think problem is because we are using code from dist whiich is already built using some babel config .inorder to fix this issue i raised pull request for exposing src folder which is transpiled by my build config so it resolved this issue.I hope it get merged. i think exposing src folder is mandatory so that user can use their build pipeline Please refer:- #534 Useful link:- |
it's worked for me. Thank you |
…releases of vue-dropzone no longer support IE11 More info here: rowanwins/vue-dropzone#439 Note the removal of `^` as we want it locked from now on.
No description provided.
The text was updated successfully, but these errors were encountered: