From 064aa3e2ee976131fcc0e856d89e3943087b3a51 Mon Sep 17 00:00:00 2001 From: meng <154040976@qq.com> Date: Tue, 11 Dec 2018 21:40:47 +0800 Subject: [PATCH] =?UTF-8?q?=20=20=20=20=20=20=20=20=20=20--=E5=90=AC?= =?UTF-8?q?=E4=B8=80=E9=A6=96=E6=AD=8C=EF=BC=8C=E5=9B=9E=E5=BF=86=E4=B8=80?= =?UTF-8?q?=E6=AE=B5=E5=BE=80=E4=BA=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- len-blog-ui/admin.html | 13 +++++++++ len-blog-ui/src/Admin.vue | 57 +++++++++++++++++++++++++++++++++++++++ len-blog-ui/src/admin.js | 23 ++++++++++++++++ 3 files changed, 93 insertions(+) create mode 100644 len-blog-ui/admin.html create mode 100644 len-blog-ui/src/Admin.vue create mode 100644 len-blog-ui/src/admin.js diff --git a/len-blog-ui/admin.html b/len-blog-ui/admin.html new file mode 100644 index 0000000..ef66e04 --- /dev/null +++ b/len-blog-ui/admin.html @@ -0,0 +1,13 @@ + + + + + + len开源脚手架博客 + + +
+ +
+ + diff --git a/len-blog-ui/src/Admin.vue b/len-blog-ui/src/Admin.vue new file mode 100644 index 0000000..7e11500 --- /dev/null +++ b/len-blog-ui/src/Admin.vue @@ -0,0 +1,57 @@ + + + + + diff --git a/len-blog-ui/src/admin.js b/len-blog-ui/src/admin.js new file mode 100644 index 0000000..d7e1a82 --- /dev/null +++ b/len-blog-ui/src/admin.js @@ -0,0 +1,23 @@ +// The Vue build version to load with the `import` command +// (runtime-only or standalone) has been set in webpack.base.conf with an alias. +import Vue from 'vue' +import App from './App' +import router from './router' +import iView from 'iview'; +import 'iview/dist/styles/iview.css'; +import axios from 'axios' + + +Vue.prototype.$http = axios + +Vue.use(iView); + +Vue.config.productionTip = false + +/* eslint-disable no-new */ +new Vue({ + el: '#app', + router, + components: { App }, + template: '' +})