OxPFKD%|832BN9DT2F-i}zc)YAk)QJbX&sdTG;!UgG9M*$YfPQ#w2y91ddT95U(57BtQd)ksVji7$y)TJIfwMDCM)R9B&r
zZle}XdvOcnfn4eIGgjDBGLck6S7NSgcXj|b?P>Ra#Sea@6dXEXx*ZReX}a51qC
z{ln(Z1bvzPwZfng=N7AX{n7>&TlT!Atoj(uX{P07UCf*TXYkX>MNs=NhiC4LT`H)E
zfSeq_BWkA7>=ZOru*}8fUe84Y3b-0XtHJMU#z>ywJR}|ADm}
zuBEv$#T<0A|ME1X^H|Q2tWXmZ^_5icyRn8*u=hTWeE#lUke3X9k$AbnKqc!TFm%@0
zvM)A@Ba@G`Z%Ot9hkIp`s3M8Owh4&D7^(65xIj5WFu)4uZml4vGSyj$5I#_F!?z8o0*fh>^O{*(<~3|2KQXy1Y9r4Wa@Khc!IDN!23Rd{P%-nC7i7aCf8mhOqwoUI6TwE(ls!{Bmf-c|ts
zRTsI^1yU4Hr^=xp75lev6rOy)1d!@TBkQx^}?WvSj|1o@mhIA5l3V{(aok6&6rSZ)$LK;7HLd
zPWp0%^CiL?XV2KRHvZ+?CUKz|fsD
zQ@}RsQ=)iwb*;C9gv6M-aQAcYG3*iwx_5JawE>%?32{SlpVb4zqsncK-cX&Y?!-=%
zMiaFzb38>&U5lg3-Rru5=lOgeR3Zm1$^{th`prBD4GIP$-GI5aSOz99EIw6uG@DYCN?B?LC3=#UZNR>BKLFRk!`&%3QcatMh
zh}|3kUL+vooONM=?@M3HcC^EF$MIWh1HWUi>uA>RPTQ+%6X{$@l5GU_8J(9ei(XZH
zOnQ&a==M6X0d?RwopHhG!Vo>E(M9_D>5i36yhl6_vM*CPF)}
z4|CKmW(_uSS37TID!n!
zaAH=nss4|FQXXzA4gJXZ>*ok+o(4Srkda;5he)gj@3@IAu=l7g?jnh^@*nFo(wJkB
z0w&vMc&|V@Gz9vz(#mXGGcEHEHj>
z@>#>Gmj_SZz~GXW4j1+DyX$WaL8Fcy9!HL2$yd{7wP$5-F3yNeKk4%+i5XSn#|>-;
zv>kajx-zsp>KF=D=~|m2d(?q9rXu!gYF!4ih5R;9Sw-1i!|33_%fTntj>@IHjc_d<
zpq1>|o9)o^R%!@HIU3-mH!-?;rRiMV*Nph9^r~i<9}DY!Zs0JVK0u
zxdJJ@3F%1EIOsBzDKiN0gysp!uZkoqIUPR*{zz@Tb4dD%b2;}>W>{pcyF<82@2d3*
ztT;Yp?%bY1WnxRu)ejAd5fOfwtqbE-4{odI6vl$?i$~6DmXwZQ9;md&2yV88M@4=8
zYWp$KL#?7vZvHh>>y_}jOSVF{e7)7aNQJu&%&_D27K>g1eHViX1&4;YP(3P}F+C!N
z2k!7~GP4y(tM*%8itV$d>yq`8a?RH_Oa&7)REZR$fE9rV)%6Ki&bD@^uD
z55e&19n#O@9ynG#HtiHsQ7y;>2TUhuF+57Ys=p~z^x$#uG1?urPgJb1Fzx1+9VoiFOXqEO@yqThXz5XbB;^)Jy_oZI{8*sPhM{d(TRc3sXdc#W
z(fcCLX4!2tsE{YAKav9O!63KL1yPCs17IV$(+}4ccH0}y$?cFMXmid
zO+$#TY&biYNX@G0b*ev}BE8nL>-@CO9+6Omr`O{&rfRO-GXk%Bt-M%pul3m<9w>hW
zoc@bsLoLeo(JQks)76?5h|3}6SB9%Wy*$xUo)JF$GiN*E
z%alSs3}>M&@5{MPH97k|s!BP1D$O7kP7O0$UP7ax?GdS8c3R^
zaU$2{LZ2xABX311!(N#c=OusSqL?W4_@AGI|K1D#ckkc2={K_=?cFwq0KnRRB6N{r
S`eo<;($d`8?5>IXg?|Ee-8GE>
diff --git a/src/components/Hello.vue b/src/components/Hello.vue
deleted file mode 100644
index 470fd5f..0000000
--- a/src/components/Hello.vue
+++ /dev/null
@@ -1,39 +0,0 @@
-
-
-
{{ msg }}
- Essential Links
- hello
-
-
-
-
-
-
-
diff --git a/src/components/admin/addpro.vue b/src/components/admin/addpro.vue
deleted file mode 100644
index 717676f..0000000
--- a/src/components/admin/addpro.vue
+++ /dev/null
@@ -1,231 +0,0 @@
-
-
-
-
-
\ No newline at end of file
diff --git a/src/components/admin/admin.vue b/src/components/admin/admin.vue
deleted file mode 100644
index 7ac5566..0000000
--- a/src/components/admin/admin.vue
+++ /dev/null
@@ -1,22 +0,0 @@
-
-
-
-
-
-
-
-
-
-
diff --git a/src/components/admin/edit.vue b/src/components/admin/edit.vue
deleted file mode 100644
index f6c7bb5..0000000
--- a/src/components/admin/edit.vue
+++ /dev/null
@@ -1,228 +0,0 @@
-
-
-
-
-
\ No newline at end of file
diff --git a/src/components/admin/header.vue b/src/components/admin/header.vue
deleted file mode 100644
index c71cd5b..0000000
--- a/src/components/admin/header.vue
+++ /dev/null
@@ -1,71 +0,0 @@
-
-
-
-
-
-
diff --git a/src/components/admin/info.vue b/src/components/admin/info.vue
deleted file mode 100644
index d2dd992..0000000
--- a/src/components/admin/info.vue
+++ /dev/null
@@ -1,271 +0,0 @@
-
-
-
-
-
\ No newline at end of file
diff --git a/src/components/admin/list.vue b/src/components/admin/list.vue
deleted file mode 100644
index cb63ad0..0000000
--- a/src/components/admin/list.vue
+++ /dev/null
@@ -1,126 +0,0 @@
-
-
-
-
\ No newline at end of file
diff --git a/src/components/admin/login.vue b/src/components/admin/login.vue
deleted file mode 100644
index 2ca88dd..0000000
--- a/src/components/admin/login.vue
+++ /dev/null
@@ -1,164 +0,0 @@
-
-
-
-
-
diff --git a/src/components/admin/regist.vue b/src/components/admin/regist.vue
deleted file mode 100644
index 6c426cf..0000000
--- a/src/components/admin/regist.vue
+++ /dev/null
@@ -1,190 +0,0 @@
-
-
-
-
-
diff --git a/src/components/admin/sidebar.vue b/src/components/admin/sidebar.vue
deleted file mode 100644
index 198bc38..0000000
--- a/src/components/admin/sidebar.vue
+++ /dev/null
@@ -1,64 +0,0 @@
-
-
-
-
-
diff --git a/src/components/index/footer.vue b/src/components/index/footer.vue
deleted file mode 100644
index 4ce54f3..0000000
--- a/src/components/index/footer.vue
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
-
-
-
diff --git a/src/components/index/header.vue b/src/components/index/header.vue
deleted file mode 100644
index d08ab7a..0000000
--- a/src/components/index/header.vue
+++ /dev/null
@@ -1,69 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/components/index/index.vue b/src/components/index/index.vue
deleted file mode 100644
index c3b176e..0000000
--- a/src/components/index/index.vue
+++ /dev/null
@@ -1,30 +0,0 @@
-
-
-
-
-
-
-
diff --git a/src/components/index/info.vue b/src/components/index/info.vue
deleted file mode 100644
index e3864ff..0000000
--- a/src/components/index/info.vue
+++ /dev/null
@@ -1,73 +0,0 @@
-
-
-
-
-
- {{ row.date }}
-
-
-
-
-
-
-
-
-
diff --git a/src/main.js b/src/main.js
deleted file mode 100644
index 6c79fd4..0000000
--- a/src/main.js
+++ /dev/null
@@ -1,41 +0,0 @@
-import Vue from 'vue'
-import VueRouter from 'vue-router'
-import VueResource from 'vue-resource'
-import ElementUI from 'element-ui'
-import 'element-ui/lib/theme-default/index.css'
-import App from './App'
-Vue.use(VueRouter);
-Vue.use(VueResource);
-Vue.use(ElementUI);
-Vue.http.options.emulateJSON = true;
-const router = new VueRouter({
- routes:[
- //重定向到admin页面
- { path: '/', redirect: '/admin/taskList' },
- { path: '/login', component: resolve => require(['./components/admin/login.vue'], resolve) },
- { path: '/regist', component: resolve => require(['./components/admin/regist.vue'], resolve) },
- { path: '/admin', component: resolve => require(['./components/admin/admin.vue'], resolve) ,
-
- //子路由
- children:[
- { path: 'taskList', component: resolve => require(['./components/admin/list.vue'], resolve) },
- { path: 'taskEdit', component: resolve => require(['./components/admin/edit.vue'], resolve) },
- { path: 'moduleInfo', component: resolve => require(['./components/admin/info.vue'], resolve) },
- { path: 'addProject', component: resolve => require(['./components/admin/addpro.vue'], resolve) },
- ]
- },
- { path: '/index', component: function (resolve) { require(['./components/index/index.vue'], resolve) },
- children:[
- { path: 'proInfo', component: function (resolve) { require(['./components/admin/list.vue'], resolve) } },
- { path: 'demand', component: function (resolve) { require(['./components/admin/edit.vue'], resolve) } },
- { path: 'aboutus', component: function (resolve) { require(['./components/admin/info.vue'], resolve) } },
- ]
- }
- ]
-});
-
-const app = new Vue({
- router,
- render: h => h(App),
-}).$mount('#app');
-
diff --git a/static/.gitkeep b/static/.gitkeep
deleted file mode 100644
index e69de29..0000000
diff --git a/static/css/admin.css b/static/css/admin.css
deleted file mode 100644
index 63e6507..0000000
--- a/static/css/admin.css
+++ /dev/null
@@ -1,133 +0,0 @@
-*{margin:0;padding:0;}
-body{
- font-family:"Helvetica Neue",Helvetica, "microsoft yahei", arial, STHeiTi, sans-serif;
-}
-a{text-decoration: none}
-.wrapper{
- background: #2E363F;
-}
-.content{
- background: none repeat scroll 0 0 #f3f3f3;
- position: absolute;
- left: 220px;
- right: 0;
- top: 70px;
- bottom:0;
- width: auto;
- padding:30px;
- box-sizing: border-box;
- overflow-y: scroll;
-}
-.widget-box{
- max-width: 1200px;
- background: none repeat scroll 0 0 #F9F9F9;
- border-left: 1px solid #F0F8FF;
- border-top: 2px solid #27a9e3;
- border-right: 2px solid #cdcdcd;
- clear: both;
- margin:0 auto 30px;
- position: relative;
-}
-.widget-box:hover{
- box-shadow: 0 2px 7px rgba(0,0,0,.15);
-}
-.widget-title{
- background: #efefef;
- border-bottom: 1px solid #F0F8FF;
- height: 40px;
-}
-.widget-title h5 {
- color: #666;
- padding: 12px;
- margin: 0;
- font-weight: normal;
-}
-.widget-content {
- padding:25px;
- border-bottom: 2px solid #cdcdcd;
-}
-.widget-box .el-select,
-.widget-box .el-input,
-.widget-box .el-upload,
-.widget-box .el-tooltip{
- display: inline-block;
-}
-.el-button+.el-tooltip {
- margin-left: 10px;
-}
-.el-table td,.el-table th{
- padding:5px 18px;
-}
-.el-table tr:hover{
- background: #f6faff;
-}
-.page-box{
- margin-top: 20px;
- text-align: right;
-}
-.page-box .el-pagination{
- background: #f9f9f9;
-}
-.mgb20{
- margin-bottom: 15px;
-}
-.mgb5{
- margin-bottom: 5px;
-}
-.dialog{
- position: fixed;
- top: 0;
- right: 0;
- bottom: 0;
- left: 0;
- overflow: auto;
- background: rgba(0,0,0,.4);
- z-index:-1;
- opacity: 0;
- transition: all .5s ease;
-}
-.dialog.dialog-show{
- opacity: 1;
- z-index: 1000;
-}
-.dialog .dialog-wrapper{
- position: absolute;
- left: 50%;
- top: 15%;
- width: 50%;
- transform: translateX(-50%);
- background: #fff;
- border-radius: 2px;
- box-shadow: 0 1px 3px rgba(0,0,0,.3);
- box-sizing: border-box;
- transition: top .5s ease;
-}
-.dialog.dialog-show .dialog-wrapper{
- top: 17%;
-}
-.dialog .dialog-header{
- padding: 20px 20px 0;
-}
-.dialog .dialog-content{
- padding: 30px 20px;
- color: #475669;
- font-size: 14px;
-}
-.dialog .dialog-close{
- float: right;
- cursor: pointer;
- color: #c0ccda;
-}
-.dialog .dialog-close:hover{
- color: #20a0ff;
- animation: close-rotate .3s ease;
-
-}
-@keyframes close-rotate {
- from{
- transform: rotate(-360deg);
- }
-}
-.el-upload__files{
- display: none;
-}
\ No newline at end of file
diff --git a/static/css/common.css b/static/css/common.css
deleted file mode 100644
index dad1da5..0000000
--- a/static/css/common.css
+++ /dev/null
@@ -1,43 +0,0 @@
-.container {
- padding-right: 15px;
- padding-left: 15px;
- margin-right: auto;
- margin-left: auto;
-}
-@media (min-width: 768px) {
- .container {
- width: 750px;
- }
-}
-@media (min-width: 992px) {
- .container {
- width: 970px;
- }
-}
-@media (min-width: 1200px) {
- .container {
- width: 1170px;
- }
-}
-.container-fluid {
- /*padding-right: 15px;*/
- /*padding-left: 15px;*/
- margin-right: auto;
- margin-left: auto;
-}
-.clearfix:before, .clearfix:after {
- content: " ";
- display: table;
-}
-.clearfix:after {
- clear: both;
-}
-.pull-left {
- float: left;
-}
-.pull-right {
- float: right;
-}
-.text-center {
- text-align: center;
-}
diff --git a/static/css/index.css b/static/css/index.css
deleted file mode 100644
index d503f91..0000000
--- a/static/css/index.css
+++ /dev/null
@@ -1,7 +0,0 @@
-.nav-bar {
- background-color: #eff2f7;
-}
-
-.logo {
-
-}
diff --git a/static/css/normalize.css b/static/css/normalize.css
deleted file mode 100644
index 99e000d..0000000
--- a/static/css/normalize.css
+++ /dev/null
@@ -1,461 +0,0 @@
-/*! normalize.css v5.0.0 | MIT License | github.com/necolas/normalize.css */
-
-/**
- * 1. Change the default font family in all browsers (opinionated).
- * 2. Correct the line height in all browsers.
- * 3. Prevent adjustments of font size after orientation changes in
- * IE on Windows Phone and in iOS.
- */
-
-/* Document
- ========================================================================== */
-
-html {
- font-family: sans-serif; /* 1 */
- line-height: 1.15; /* 2 */
- -ms-text-size-adjust: 100%; /* 3 */
- -webkit-text-size-adjust: 100%; /* 3 */
-}
-
-/* Sections
- ========================================================================== */
-
-/**
- * Remove the margin in all browsers (opinionated).
- */
-
-body {
- margin: 0;
-}
-
-/**
- * Add the correct display in IE 9-.
- */
-
-article,
-aside,
-footer,
-header,
-nav,
-section {
- display: block;
-}
-
-/**
- * Correct the font size and margin on `h1` elements within `section` and
- * `article` contexts in Chrome, Firefox, and Safari.
- */
-
-h1 {
- font-size: 2em;
- margin: 0.67em 0;
-}
-
-/* Grouping content
- ========================================================================== */
-
-/**
- * Add the correct display in IE 9-.
- * 1. Add the correct display in IE.
- */
-
-figcaption,
-figure,
-main { /* 1 */
- display: block;
-}
-
-/**
- * Add the correct margin in IE 8.
- */
-
-figure {
- margin: 1em 40px;
-}
-
-/**
- * 1. Add the correct box sizing in Firefox.
- * 2. Show the overflow in Edge and IE.
- */
-
-hr {
- box-sizing: content-box; /* 1 */
- height: 0; /* 1 */
- overflow: visible; /* 2 */
-}
-
-/**
- * 1. Correct the inheritance and scaling of font size in all browsers.
- * 2. Correct the odd `em` font sizing in all browsers.
- */
-
-pre {
- font-family: monospace, monospace; /* 1 */
- font-size: 1em; /* 2 */
-}
-
-/* Text-level semantics
- ========================================================================== */
-
-/**
- * 1. Remove the gray background on active links in IE 10.
- * 2. Remove gaps in links underline in iOS 8+ and Safari 8+.
- */
-
-a {
- background-color: transparent; /* 1 */
- -webkit-text-decoration-skip: objects; /* 2 */
-}
-
-/**
- * Remove the outline on focused links when they are also active or hovered
- * in all browsers (opinionated).
- */
-
-a:active,
-a:hover {
- outline-width: 0;
-}
-
-/**
- * 1. Remove the bottom border in Firefox 39-.
- * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
- */
-
-abbr[title] {
- border-bottom: none; /* 1 */
- text-decoration: underline; /* 2 */
- text-decoration: underline dotted; /* 2 */
-}
-
-/**
- * Prevent the duplicate application of `bolder` by the next rule in Safari 6.
- */
-
-b,
-strong {
- font-weight: inherit;
-}
-
-/**
- * Add the correct font weight in Chrome, Edge, and Safari.
- */
-
-b,
-strong {
- font-weight: bolder;
-}
-
-/**
- * 1. Correct the inheritance and scaling of font size in all browsers.
- * 2. Correct the odd `em` font sizing in all browsers.
- */
-
-code,
-kbd,
-samp {
- font-family: monospace, monospace; /* 1 */
- font-size: 1em; /* 2 */
-}
-
-/**
- * Add the correct font style in Android 4.3-.
- */
-
-dfn {
- font-style: italic;
-}
-
-/**
- * Add the correct background and color in IE 9-.
- */
-
-mark {
- background-color: #ff0;
- color: #000;
-}
-
-/**
- * Add the correct font size in all browsers.
- */
-
-small {
- font-size: 80%;
-}
-
-/**
- * Prevent `sub` and `sup` elements from affecting the line height in
- * all browsers.
- */
-
-sub,
-sup {
- font-size: 75%;
- line-height: 0;
- position: relative;
- vertical-align: baseline;
-}
-
-sub {
- bottom: -0.25em;
-}
-
-sup {
- top: -0.5em;
-}
-
-/* Embedded content
- ========================================================================== */
-
-/**
- * Add the correct display in IE 9-.
- */
-
-audio,
-video {
- display: inline-block;
-}
-
-/**
- * Add the correct display in iOS 4-7.
- */
-
-audio:not([controls]) {
- display: none;
- height: 0;
-}
-
-/**
- * Remove the border on images inside links in IE 10-.
- */
-
-img {
- border-style: none;
-}
-
-/**
- * Hide the overflow in IE.
- */
-
-svg:not(:root) {
- overflow: hidden;
-}
-
-/* Forms
- ========================================================================== */
-
-/**
- * 1. Change the font styles in all browsers (opinionated).
- * 2. Remove the margin in Firefox and Safari.
- */
-
-button,
-input,
-optgroup,
-select,
-textarea {
- font-family: sans-serif; /* 1 */
- font-size: 100%; /* 1 */
- line-height: 1.15; /* 1 */
- margin: 0; /* 2 */
-}
-
-/**
- * Show the overflow in IE.
- * 1. Show the overflow in Edge.
- */
-
-button,
-input { /* 1 */
- overflow: visible;
-}
-
-/**
- * Remove the inheritance of text transform in Edge, Firefox, and IE.
- * 1. Remove the inheritance of text transform in Firefox.
- */
-
-button,
-select { /* 1 */
- text-transform: none;
-}
-
-/**
- * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
- * controls in Android 4.
- * 2. Correct the inability to style clickable types in iOS and Safari.
- */
-
-button,
-html [type="button"], /* 1 */
-[type="reset"],
-[type="submit"] {
- -webkit-appearance: button; /* 2 */
-}
-
-/**
- * Remove the inner border and padding in Firefox.
- */
-
-button::-moz-focus-inner,
-[type="button"]::-moz-focus-inner,
-[type="reset"]::-moz-focus-inner,
-[type="submit"]::-moz-focus-inner {
- border-style: none;
- padding: 0;
-}
-
-/**
- * Restore the focus styles unset by the previous rule.
- */
-
-button:-moz-focusring,
-[type="button"]:-moz-focusring,
-[type="reset"]:-moz-focusring,
-[type="submit"]:-moz-focusring {
- outline: 1px dotted ButtonText;
-}
-
-/**
- * Change the border, margin, and padding in all browsers (opinionated).
- */
-
-fieldset {
- border: 1px solid #c0c0c0;
- margin: 0 2px;
- padding: 0.35em 0.625em 0.75em;
-}
-
-/**
- * 1. Correct the text wrapping in Edge and IE.
- * 2. Correct the color inheritance from `fieldset` elements in IE.
- * 3. Remove the padding so developers are not caught out when they zero out
- * `fieldset` elements in all browsers.
- */
-
-legend {
- box-sizing: border-box; /* 1 */
- color: inherit; /* 2 */
- display: table; /* 1 */
- max-width: 100%; /* 1 */
- padding: 0; /* 3 */
- white-space: normal; /* 1 */
-}
-
-/**
- * 1. Add the correct display in IE 9-.
- * 2. Add the correct vertical alignment in Chrome, Firefox, and Opera.
- */
-
-progress {
- display: inline-block; /* 1 */
- vertical-align: baseline; /* 2 */
-}
-
-/**
- * Remove the default vertical scrollbar in IE.
- */
-
-textarea {
- overflow: auto;
-}
-
-/**
- * 1. Add the correct box sizing in IE 10-.
- * 2. Remove the padding in IE 10-.
- */
-
-[type="checkbox"],
-[type="radio"] {
- box-sizing: border-box; /* 1 */
- padding: 0; /* 2 */
-}
-
-/**
- * Correct the cursor style of increment and decrement buttons in Chrome.
- */
-
-[type="number"]::-webkit-inner-spin-button,
-[type="number"]::-webkit-outer-spin-button {
- height: auto;
-}
-
-/**
- * 1. Correct the odd appearance in Chrome and Safari.
- * 2. Correct the outline style in Safari.
- */
-
-[type="search"] {
- -webkit-appearance: textfield; /* 1 */
- outline-offset: -2px; /* 2 */
-}
-
-/**
- * Remove the inner padding and cancel buttons in Chrome and Safari on macOS.
- */
-
-[type="search"]::-webkit-search-cancel-button,
-[type="search"]::-webkit-search-decoration {
- -webkit-appearance: none;
-}
-
-/**
- * 1. Correct the inability to style clickable types in iOS and Safari.
- * 2. Change font properties to `inherit` in Safari.
- */
-
-::-webkit-file-upload-button {
- -webkit-appearance: button; /* 1 */
- font: inherit; /* 2 */
-}
-
-/* Interactive
- ========================================================================== */
-
-/*
- * Add the correct display in IE 9-.
- * 1. Add the correct display in Edge, IE, and Firefox.
- */
-
-details, /* 1 */
-menu {
- display: block;
-}
-
-/*
- * Add the correct display in all browsers.
- */
-
-summary {
- display: list-item;
-}
-
-/* Scripting
- ========================================================================== */
-
-/**
- * Add the correct display in IE 9-.
- */
-
-canvas {
- display: inline-block;
-}
-
-/**
- * Add the correct display in IE.
- */
-
-template {
- display: none;
-}
-
-/* Hidden
- ========================================================================== */
-
-/**
- * Add the correct display in IE 10-.
- */
-
-[hidden] {
- display: none;
-}
diff --git a/static/css/normalize.min.css b/static/css/normalize.min.css
deleted file mode 100644
index 452a01f..0000000
--- a/static/css/normalize.min.css
+++ /dev/null
@@ -1 +0,0 @@
-button,hr,input{overflow:visible}audio,canvas,progress,video{display:inline-block}progress,sub,sup{vertical-align:baseline}html{font-family:sans-serif;line-height:1.15;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0} menu,article,aside,details,footer,header,nav,section{display:block}h1{font-size:2em;margin:.67em 0}figcaption,figure,main{display:block}figure{margin:1em 40px}hr{box-sizing:content-box;height:0}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}a{background-color:transparent;-webkit-text-decoration-skip:objects}a:active,a:hover{outline-width:0}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}dfn{font-style:italic}mark{background-color:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}audio:not([controls]){display:none;height:0}img{border-style:none}svg:not(:root){overflow:hidden}button,input,optgroup,select,textarea{font-family:sans-serif;font-size:100%;line-height:1.15;margin:0}button,input{}button,select{text-transform:none}[type=submit], [type=reset],button,html [type=button]{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:ButtonText dotted 1px}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}[hidden],template{display:none}/*# sourceMappingURL=normalize.min.css.map */
diff --git a/test/unit/.eslintrc b/test/unit/.eslintrc
deleted file mode 100644
index 959a4f4..0000000
--- a/test/unit/.eslintrc
+++ /dev/null
@@ -1,9 +0,0 @@
-{
- "env": {
- "mocha": true
- },
- "globals": {
- "expect": true,
- "sinon": true
- }
-}
diff --git a/test/unit/index.js b/test/unit/index.js
deleted file mode 100644
index 03b19e3..0000000
--- a/test/unit/index.js
+++ /dev/null
@@ -1,13 +0,0 @@
-// Polyfill fn.bind() for PhantomJS
-/* eslint-disable no-extend-native */
-Function.prototype.bind = require('function-bind')
-
-// require all test files (files that ends with .spec.js)
-const testsContext = require.context('./specs', true, /\.spec$/)
-testsContext.keys().forEach(testsContext)
-
-// require all src files except main.js for coverage.
-// you can also change this to match only the subset of files that
-// you want coverage for.
-const srcContext = require.context('../../src', true, /^\.\/(?!main(\.js)?$)/)
-srcContext.keys().forEach(srcContext)
diff --git a/test/unit/karma.conf.js b/test/unit/karma.conf.js
deleted file mode 100644
index 048b729..0000000
--- a/test/unit/karma.conf.js
+++ /dev/null
@@ -1,75 +0,0 @@
-// This is a karma config file. For more details see
-// http://karma-runner.github.io/0.13/config/configuration-file.html
-// we are also using it with karma-webpack
-// https://github.com/webpack/karma-webpack
-
-var path = require('path')
-var merge = require('webpack-merge')
-var baseConfig = require('../../build/webpack.base.conf')
-var utils = require('../../build/utils')
-var webpack = require('webpack')
-var projectRoot = path.resolve(__dirname, '../../')
-
-var webpackConfig = merge(baseConfig, {
- // use inline sourcemap for karma-sourcemap-loader
- module: {
- loaders: utils.styleLoaders()
- },
- devtool: '#inline-source-map',
- vue: {
- loaders: {
- js: 'isparta'
- }
- },
- plugins: [
- new webpack.DefinePlugin({
- 'process.env': require('../../config/test.env')
- })
- ]
-})
-
-// no need for app entry during tests
-delete webpackConfig.entry
-
-// make sure isparta loader is applied before eslint
-webpackConfig.module.preLoaders = webpackConfig.module.preLoaders || []
-webpackConfig.module.preLoaders.unshift({
- test: /\.js$/,
- loader: 'isparta',
- include: path.resolve(projectRoot, 'src')
-})
-
-// only apply babel for test files when using isparta
-webpackConfig.module.loaders.some(function (loader, i) {
- if (loader.loader === 'babel') {
- loader.include = path.resolve(projectRoot, 'test/unit')
- return true
- }
-})
-
-module.exports = function (config) {
- config.set({
- // to run in additional browsers:
- // 1. install corresponding karma launcher
- // http://karma-runner.github.io/0.13/config/browsers.html
- // 2. add it to the `browsers` array below.
- browsers: ['PhantomJS'],
- frameworks: ['mocha', 'sinon-chai'],
- reporters: ['spec', 'coverage'],
- files: ['./index.js'],
- preprocessors: {
- './index.js': ['webpack', 'sourcemap']
- },
- webpack: webpackConfig,
- webpackMiddleware: {
- noInfo: true
- },
- coverageReporter: {
- dir: './coverage',
- reporters: [
- { type: 'lcov', subdir: '.' },
- { type: 'text-summary' }
- ]
- }
- })
-}
diff --git a/test/unit/specs/Hello.spec.js b/test/unit/specs/Hello.spec.js
deleted file mode 100644
index a6965db..0000000
--- a/test/unit/specs/Hello.spec.js
+++ /dev/null
@@ -1,13 +0,0 @@
-import Vue from 'vue'
-import Hello from 'src/components/Hello'
-
-describe('Hello.vue', () => {
- it('should render correct contents', () => {
- const vm = new Vue({
- el: document.createElement('div'),
- render: (h) => h(Hello)
- })
- expect(vm.$el.querySelector('.hello h1').textContent)
- .to.equal('Welcome to Your Vue.js App')
- })
-})