Answer the question
In order to leave comments, you need to log in
How to make friends Vue with IE?
Who faced such a problem, can anyone tell me?
Application on vue-cli 3 + vuetify. Blank page in IE and Edge.
From googling, I realized that the problem is that Microsoft does not care about es6. I also found advice that you need to install and import babel-polyfill. But this did not give any result.
Maybe someone solved such a problem at home?
Answer the question
In order to leave comments, you need to log in
Look at the hp microserver gen8 or gen10 - a very attractive thing + you can download your favorite distribution and configure it yourself)) But this is of course if you want to customize a little yourself ...
I ran into this problem 6 months ago. I solved the problem in this way:
1. Inapplication.js
import "@babel/polyfill";
import { app } from '../project/index'
document.addEventListener('DOMContentLoaded', () => {
app.$mount('#app')
});
index.js
import * as Vue from "vue/dist/vue.common";
import "core-js/stable";
import "regenerator-runtime/runtime";
import Vuetify from "vuetify";
....
и так далее
What is the project going to be? My webpack runs through babel and everything works in IE
Configuration piece webpack.config.js
module: {
rules: [
{
test: /\.js$/,
loader: 'babel-loader',
exclude: /node_modules/
},
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question