Skip to content

Commit 26d8942

Browse files
committed
Revert experimental vue for now
1 parent 4bbe035 commit 26d8942

7 files changed

Lines changed: 1 addition & 60 deletions

File tree

.editorconfig

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@ indent_size = 4
77
trim_trailing_whitespace = true
88
insert_final_newline = true
99

10-
[*.vue]
11-
indent_style = space
12-
indent_size = 2
13-
1410
[*.md]
1511
trim_trailing_whitespace = false
1612

package.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,6 @@
116116
"velocity-animate": "^1.4.0",
117117
"visibilityjs": "^1.2.4",
118118
"viz.js": "^1.4.1",
119-
"vue": "^2.1.6",
120-
"vue-loader": "^10.0.2",
121119
"winston": "^2.3.0",
122120
"xss": "^0.3.3"
123121
},
@@ -164,7 +162,6 @@
164162
"script-loader": "^0.7.0",
165163
"style-loader": "^0.13.1",
166164
"url-loader": "^0.5.7",
167-
"vue-template-compiler": "^2.1.6",
168165
"webpack": "^1.14.0"
169166
}
170167
}

public/js/components/HelloWorld.vue

Lines changed: 0 additions & 21 deletions
This file was deleted.

public/js/cover.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,6 @@ import { saveAs } from 'file-saver';
2929
import List from 'list.js';
3030
import S from 'string';
3131

32-
import Cover from './views/Cover';
33-
import Vue from 'vue';
34-
35-
new Vue({
36-
el: '#cover-app',
37-
render: (h) => h(Cover)
38-
})
39-
4032
const options = {
4133
valueNames: ['id', 'text', 'timestamp', 'fromNow', 'time', 'tags', 'pinned'],
4234
item: '<li class="col-xs-12 col-sm-6 col-md-6 col-lg-4">\

public/js/views/Cover.vue

Lines changed: 0 additions & 15 deletions
This file was deleted.

public/views/index.ejs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@
3030
<div class="site-wrapper">
3131
<div class="site-wrapper-inner">
3232
<div class="cover-container">
33-
<div id="cover-app"></div>
34-
3533
<div class="masthead clearfix">
3634
<div class="inner">
3735
<h3 class="masthead-brand"></h3>

webpackBaseConfig.js

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ module.exports = {
338338
path.resolve(__dirname, 'src'),
339339
path.resolve(__dirname, 'node_modules')
340340
],
341-
extensions: ["", ".js", ".vue"],
341+
extensions: ["", ".js"],
342342
alias: {
343343
codemirror: path.join(__dirname, 'node_modules/codemirror/codemirror.min.js'),
344344
inlineAttachment: path.join(__dirname, 'public/vendor/inlineAttachment/inline-attachment.js'),
@@ -372,12 +372,6 @@ module.exports = {
372372
loaders: [{
373373
test: /\.json$/,
374374
loader: 'json-loader'
375-
}, {
376-
test: /\.vue$/,
377-
loader: 'vue',
378-
options: {
379-
// vue-loader options go here
380-
}
381375
}, {
382376
test: /\.js$/,
383377
loader: 'babel',

0 commit comments

Comments
 (0)