-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Application won't start in Internet Explorer 10-11 #1623
Comments
Confirm similar issue in production build. |
This issue is still present in v1.0.2. |
I'm using a number of tweaks to webpack config to bypass this.
|
@sergeymorkovkin I will try that out and maybe I can come up with a PR fo fix the issue in the core package. |
@sergeymorkovkin I still struggle to get themes/plugins and their dependencies to work. Background |
@jackmu95 Vuepress has internal dependencies, which didn't get transpiled. This code fixes this problem by modification of the Vuepress transpilation webpack config. I suspect there are more related issues, but can only help with this code, which you already have. It solves major issues for me. |
A solution similar to @jackmu95's worked for my small site with the default theme. I added
to |
The only thing I'am currently still struggling ist to get the |
@jackmu95 Did you manage to get the polyfill to work? This is the only issue remaining but causes the whole of Vuepress to not work in IE 11 at the moment |
Yes, please check my code above. |
I meant without hacking the webpack config or such. I was expecting the PR that closed this issue to actually rectify this problem, but a default installation of vuepress is still broken in IE 11. Which is not great |
Vuepress is not working for me on IE11 either, I can see arrow functions inside the build .js files which means they aren't transpiled. |
This should be in your vuepress config. |
That's the function declaration, do I need to call it after I declare it? |
Is there an example of where to put this?
Where in |
Any update on this? I faced the same and can't get where it could be passed and how it should be called. By the way if there is any fix to support IE somehow from the box that would be awesome! |
Hey found IE works on vuepress v1.5. 😎 |
Bug report
It looks like Vuepress doesn't support IE 10-11. There are two causes:
Steps to reproduce
npm run docs:dev
http://[yout-ip]:8080
in IE 10 or 11eval
statementmodule.exports = { evergreen: false, chainWebpack: (config, isServer) => { config.devtool('source-map'); }, };
What is expected?
Vuepress is expected to work with Internet Explorer 10-11.
What is actually happening?
Internet Explorer 10 and 11 can't start Vuepress app, since it's using ES6 syntax, which isn't transpiled.
Other relevant information
My VuePress version is lower and euqal than
1.0.0-alpha.47
:My VuePress version is higher than
1.0.0-alpha.47
, the following is the output ofnpx vuepress info
in my VuePress project:The text was updated successfully, but these errors were encountered: