Browse Source

添加为ie添加es6运行环境

huxz 7 years ago
parent
commit
6adc0a15f8
2 changed files with 2 additions and 0 deletions
  1. 1 0
      nuxt.config.js
  2. 1 0
      package.json

+ 1 - 0
nuxt.config.js

@@ -52,6 +52,7 @@ module.exports = {
       }
     },
     vendor: [
+      'babel-polyfill',
       'axios',
       'swiper',
       'element-ui'

+ 1 - 0
package.json

@@ -6,6 +6,7 @@
   "private": true,
   "dependencies": {
     "axios": "^0.15.3",
+    "babel-polyfill": "^6.23.0",
     "bezier-easing": "^2.0.3",
     "bootstrap": "^3.3.7",
     "cross-env": "^3.1.4",