Revert experimental vue for now

This commit is contained in:
Yukai Huang 2017-01-21 12:24:58 +08:00
parent 4bbe035beb
commit 26d8942852
7 changed files with 1 additions and 60 deletions

View file

@ -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

View file

@ -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"
}
}

View file

@ -1,21 +0,0 @@
<template>
<h1>{{ message }}</h1>
</template>
<script>
export default {
name: 'HelloWorld',
data() {
return {
message: 'Hello Vue'
}
}
}
</script>
<style scoped>
h1 {
color: blue;
}
</style>

View file

@ -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: '<li class="col-xs-12 col-sm-6 col-md-6 col-lg-4">\

View file

@ -1,15 +0,0 @@
<template>
<hello-world />
</template>
<script>
import HelloWorld from '../components/HelloWorld';
export default {
name: 'Cover',
components: {
HelloWorld
}
}
</script>

View file

@ -30,8 +30,6 @@
<div class="site-wrapper">
<div class="site-wrapper-inner">
<div class="cover-container">
<div id="cover-app"></div>
<div class="masthead clearfix">
<div class="inner">
<h3 class="masthead-brand"></h3>

View file

@ -338,7 +338,7 @@ module.exports = {
path.resolve(__dirname, 'src'),
path.resolve(__dirname, 'node_modules')
],
extensions: ["", ".js", ".vue"],
extensions: ["", ".js"],
alias: {
codemirror: path.join(__dirname, 'node_modules/codemirror/codemirror.min.js'),
inlineAttachment: path.join(__dirname, 'public/vendor/inlineAttachment/inline-attachment.js'),
@ -372,12 +372,6 @@ module.exports = {
loaders: [{
test: /\.json$/,
loader: 'json-loader'
}, {
test: /\.vue$/,
loader: 'vue',
options: {
// vue-loader options go here
}
}, {
test: /\.js$/,
loader: 'babel',