0

I created a project in html using the cdn for vue js. It works perfectly for chrome, but when I try to test it on IE11 it shows only blank pages.

I know that when using the vue-cli with webpack there is a workaround this issue using polyfill.

Is there any way to make it work on IE using cdn?

IE err: SCRIPT1003: Expected ':'

My vue js code:

<script>
  new Vue({
  el: '#app',
  vuetify: new Vuetify(),
  data: function() {
   return {
     showAutomate: false,
     passwordField: null,
     login: false,
   }
 },
 methods: {
  checkPassword() {
    if (this.passwordField === "test") {
      this.login = true;
    }
    else {
      window.confirm(
        "Wrong password! Try again."
      );
    }
  },
 },
 created() {
   this.$vuetify.theme.themes.light.primary = "#0c343d";     
 },
 mounted() {

 }
})
</script>

0 Answers0