From 26d8942852f8d216d03138a6c3c1d350e6bc903e Mon Sep 17 00:00:00 2001
From: Yukai Huang
Date: Sat, 21 Jan 2017 12:24:58 +0800
Subject: Revert experimental vue for now
---
.editorconfig | 4 ----
package.json | 3 ---
public/js/components/HelloWorld.vue | 21 ---------------------
public/js/cover.js | 8 --------
public/js/views/Cover.vue | 15 ---------------
public/views/index.ejs | 2 --
webpackBaseConfig.js | 8 +-------
7 files changed, 1 insertion(+), 60 deletions(-)
delete mode 100644 public/js/components/HelloWorld.vue
delete mode 100644 public/js/views/Cover.vue
diff --git a/.editorconfig b/.editorconfig
index b3e30251..619c178d 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -7,10 +7,6 @@ indent_size = 4
trim_trailing_whitespace = true
insert_final_newline = true
-[*.vue]
-indent_style = space
-indent_size = 2
-
[*.md]
trim_trailing_whitespace = false
diff --git a/package.json b/package.json
index e22f9e73..1ed81c98 100644
--- a/package.json
+++ b/package.json
@@ -116,8 +116,6 @@
"velocity-animate": "^1.4.0",
"visibilityjs": "^1.2.4",
"viz.js": "^1.4.1",
- "vue": "^2.1.6",
- "vue-loader": "^10.0.2",
"winston": "^2.3.0",
"xss": "^0.3.3"
},
@@ -164,7 +162,6 @@
"script-loader": "^0.7.0",
"style-loader": "^0.13.1",
"url-loader": "^0.5.7",
- "vue-template-compiler": "^2.1.6",
"webpack": "^1.14.0"
}
}
diff --git a/public/js/components/HelloWorld.vue b/public/js/components/HelloWorld.vue
deleted file mode 100644
index d8e3007f..00000000
--- a/public/js/components/HelloWorld.vue
+++ /dev/null
@@ -1,21 +0,0 @@
-
- {{ message }}
-
-
-
-
-
diff --git a/public/js/cover.js b/public/js/cover.js
index 79b168d9..830564e8 100644
--- a/public/js/cover.js
+++ b/public/js/cover.js
@@ -29,14 +29,6 @@ import { saveAs } from 'file-saver';
import List from 'list.js';
import S from 'string';
-import Cover from './views/Cover';
-import Vue from 'vue';
-
-new Vue({
- el: '#cover-app',
- render: (h) => h(Cover)
-})
-
const options = {
valueNames: ['id', 'text', 'timestamp', 'fromNow', 'time', 'tags', 'pinned'],
item: '