From 4e808384fe668394b3ea9d18f5d04c311b3b80c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=AE=B8=E5=BD=A6=E5=B3=B0?= <774177933@qq.com> Date: Fri, 15 Mar 2019 15:06:15 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=86popup=E9=83=A8=E5=88=86=E9=80=BB?= =?UTF-8?q?=E8=BE=91=E7=A7=BB=E6=A4=8D=E8=BF=87=E6=9D=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- template/core/webpack.base.js | 2 +- template/src/devtools/panel.js | 3 ++ template/src/devtools/root.vue | 13 +++++++-- template/src/manifest.js | 6 ++-- template/src/options/index.js | 3 ++ template/src/popup/index.js | 4 +-- template/src/popup/popup/github.png | Bin 0 -> 6050 bytes template/src/popup/popup/icon48.png | Bin 0 -> 5502 bytes template/src/popup/popup/money.jpg | Bin 0 -> 143671 bytes template/src/popup/popup/qq.png | Bin 0 -> 5782 bytes template/src/popup/popup/tiezi.png | Bin 0 -> 3067 bytes template/src/popup/root.vue | 43 +++++++++++++++++++++++++--- template/src/tab/index.js | 3 ++ template/src/tab/root.vue | 8 ++---- 14 files changed, 67 insertions(+), 18 deletions(-) create mode 100644 template/src/popup/popup/github.png create mode 100644 template/src/popup/popup/icon48.png create mode 100644 template/src/popup/popup/money.jpg create mode 100644 template/src/popup/popup/qq.png create mode 100644 template/src/popup/popup/tiezi.png diff --git a/template/core/webpack.base.js b/template/core/webpack.base.js index 0cae543..a83831d 100644 --- a/template/core/webpack.base.js +++ b/template/core/webpack.base.js @@ -90,7 +90,7 @@ module.exports = { ] }, plugins: [ - htmlPage('home', 'app', ['tab']), + htmlPage('home', 'tap', ['tab']), htmlPage('popup', 'popup', ['popup']), htmlPage('panel', 'panel', ['panel']), htmlPage('devtools', 'devtools', ['devtools']), diff --git a/template/src/devtools/panel.js b/template/src/devtools/panel.js index e9159e3..00ff35f 100644 --- a/template/src/devtools/panel.js +++ b/template/src/devtools/panel.js @@ -1,5 +1,8 @@ import Vue from 'vue' import root from './root.vue' +import ElementUI from 'element-ui' +import 'element-ui/lib/theme-chalk/index.css' +Vue.use(ElementUI) Vue.config.productionTip = false /* eslint-disable no-new */ diff --git a/template/src/devtools/root.vue b/template/src/devtools/root.vue index 82ae42c..b119c1e 100644 --- a/template/src/devtools/root.vue +++ b/template/src/devtools/root.vue @@ -1,5 +1,8 @@ -