From 679cc071609c03591531c64c7015eed6c02bf807 Mon Sep 17 00:00:00 2001 From: 406803045 <406803045@qq.com> Date: Thu, 6 Jun 2019 14:38:14 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3bable=20cannot=20call=20a=20c?= =?UTF-8?q?lass=20as=20a=20func?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .babelrc | 12 --------- babel.config.js | 1 - public/index.1.html | 27 -------------------- public/index.html | 9 +++++++ src/main.js | 2 +- src/permission.js | 8 ------ src/plugins/wechatAuth.js | 6 ++--- vue.config.js | 52 ++++++++++++++++++++++----------------- 8 files changed, 42 insertions(+), 75 deletions(-) delete mode 100644 .babelrc delete mode 100644 public/index.1.html diff --git a/.babelrc b/.babelrc deleted file mode 100644 index dc2f4b5..0000000 --- a/.babelrc +++ /dev/null @@ -1,12 +0,0 @@ -{ - "presets": [ - [ "@babel/preset-env", { - "targets": { - "browsers": [ "last 1 version", "ie >= 11" ] - } - }] - ], - "plugins": [ - "@babel/plugin-transform-runtime" - ] -} \ No newline at end of file diff --git a/babel.config.js b/babel.config.js index 9a68476..8c3d848 100644 --- a/babel.config.js +++ b/babel.config.js @@ -1,4 +1,3 @@ -process.env.VUE_CLI_BABEL_TRANSPILE_MODULES = true module.exports = { presets: [['@vue/app', { useBuiltIns: 'entry' }]], plugins: [ diff --git a/public/index.1.html b/public/index.1.html deleted file mode 100644 index 8f3b79a..0000000 --- a/public/index.1.html +++ /dev/null @@ -1,27 +0,0 @@ - - -
- - - - - <% for (var i in - htmlWebpackPlugin.options.cdn&&htmlWebpackPlugin.options.cdn.css) { %> - - - <% } %> -