Skip to content
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

IE11 support #213

Open
zhaopengweily opened this issue Dec 11, 2024 · 0 comments
Open

IE11 support #213

zhaopengweily opened this issue Dec 11, 2024 · 0 comments
Labels
bug Something isn't working unconfirmed Unconfirmed issue

Comments

@zhaopengweily
Copy link

there is an error in IE11
缺少 ':'
SyntaxError: 缺少 ':'
at k (http://localhost:8080/js/chunk-vendors.js:5299:642225)
at _callee46$ (http://localhost:8080/js/chunk-vendors.js:5299:635484)
at tryCatch (http://localhost:8080/js/chunk-vendors.js:20872:7)
at Anonymous function (http://localhost:8080/js/chunk-vendors.js:20962:9)
at Anonymous function (http://localhost:8080/js/chunk-vendors.js:20903:9)
at asyncGeneratorStep (http://localhost:8080/js/chunk-vendors.js:20406:5)
at _next (http://localhost:8080/js/chunk-vendors.js:20420:9)
at callReaction (http://localhost:8080/js/chunk-vendors.js:32617:9)
at Anonymous function (http://localhost:8080/js/chunk-vendors.js:32642:7)
at flush (http://localhost:8080/js/chunk-vendors.js:26680:7)

ues demo like this:
import Vue from 'vue'
import { loadModule } from "vue3-sfc-loader/dist/vue2-sfc-loader";
const config = {
// note: Here, for convenience, we simply retrieve content from a string.
files: {
/* */
}
};

const options = {
moduleCache: { vue: Vue },
getFile: function(url) { return config.files[url] },
addStyle: function () {},
}

loadModule('/app.vue', options)
.then(function(app) {
new Vue(app).$mount('#app')
});

@zhaopengweily zhaopengweily added bug Something isn't working unconfirmed Unconfirmed issue labels Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working unconfirmed Unconfirmed issue
Projects
None yet
Development

No branches or pull requests

1 participant