Support IE
parent
7ee40d9cf9
commit
03d34444d2
|
@ -9,7 +9,7 @@ function resolve (dir) {
|
|||
|
||||
module.exports = {
|
||||
entry: {
|
||||
app: './src/main.js'
|
||||
app: ['babel-polyfill','./src/main.js']
|
||||
},
|
||||
output: {
|
||||
path: config.build.assetsRoot,
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"axios": "^0.15.3",
|
||||
"babel-polyfill": "^6.23.0",
|
||||
"element-ui": "^1.2.2",
|
||||
"vue": "^2.1.10",
|
||||
"vue-core-image-upload": "^2.0.5",
|
||||
|
|
|
@ -4,9 +4,9 @@ import router from './router';
|
|||
import ElementUI from 'element-ui';
|
||||
import 'element-ui/lib/theme-default/index.css'; // 默认主题
|
||||
// import '../static/css/theme-green/index.css'; // 浅绿色主题
|
||||
|
||||
import "babel-polyfill";
|
||||
Vue.use(ElementUI);
|
||||
new Vue({
|
||||
router,
|
||||
render: h => h(App)
|
||||
}).$mount('#app');
|
||||
}).$mount('#app');
|
Loading…
Reference in New Issue