Akryum / Akryum/vue-cli-plugin-ssr

IE11 issue - unexpected identifier..

Open
#139 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
441
Forks
69
PR merge metrics
No merged PRs in 30d

Description

https://github.com/Akryum/vue-cli-plugin-ssr/blob/a742953b8376817950a01ad79967b9aa02da5388/client/index.js#L1

i think i found an issue regarding IE11 in your node_modules/@akryum/vue-cli-plugin-ssr/client/index.js. The IE gave an error like unexpected identifier, IE11 doesnt support named parameters like you simulated. I fixed it with the following code:

```
export function loadAsyncComponents (options) {
options = options || {};
var router = options.router || 0;
```

what do you think about this?

regards
Marten

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.