提交 03d34444 编写于 作者: L lin-xin

Support IE

上级 7ee40d9c
......@@ -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');
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册