Akryum / Akryum/vue-cli-plugin-ssr

IE11 issue - unexpected identifier..

Offen
#139 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
441
Forks
69
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.