Akryum / Akryum/vue-cli-plugin-ssr

IE11 issue - unexpected identifier..

Aperta
#139 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
441
Fork
69
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.