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