-
Notifications
You must be signed in to change notification settings - Fork 18
IE 11 syntax error #67
Comments
Interesting, I can't get it working too, I have to investigate it more. Seems to be an issue with wpapi. |
Maybe related to this: |
Same errors here at @pfunto 's project using next |
Yes, seems like the same errors we are experiencing. No wuxt doesn't work with ie11, which was the reason to open this issue :) Will test the workaround in the issue you referenced. We had problems to load the client bundle only in the client, but I'll give it another try. |
Checkout the pr, I had also problems with the client build and did now a fork. |
Was there any advances on this issue? Any new insights on where things are at? |
When you have an Idea how to solve it or want to contribute, you can open a pull request. Here was an attempt to get it working, but I think it has to be adapted and it is not a good solution. #68 |
From https://docs.microsoft.com/en-us/lifecycle/products/internet-explorer-11 |
We have an issue when we are using wp-nuxt out of the box on ie11, we get a syntax error in the superagent library (yarn run dev -> vendor.app.js):
Problem is that arrow-functions (and other ES6) do not work in ie11, so we added all libraries to transpile in the build option. That solves the first error and a couple of others that are following and are ES6 related. Unfortunately, now we are stuck with the following error, which we can't find any fix for (vendor.app.js): "Unable to get property 'replace' of undefined or null reference".
Is there a fix for that?
The text was updated successfully, but these errors were encountered: