File tree Expand file tree Collapse file tree 5 files changed +5299
-8
lines changed Expand file tree Collapse file tree 5 files changed +5299
-8
lines changed Original file line number Diff line number Diff line change @@ -5,9 +5,12 @@ module.exports = {
5
5
commonjs : true ,
6
6
es6 : true
7
7
} ,
8
- extends : 'airbnb-base' ,
8
+ extends : [
9
+ 'plugin:vue-libs/recommended' ,
10
+ 'airbnb-base'
11
+ ] ,
9
12
plugins : [
10
- 'html '
13
+ 'vue '
11
14
] ,
12
15
rules : {
13
16
quotes : [ 2 , 'single' ] ,
Original file line number Diff line number Diff line change 27
27
"clean-webpack-plugin" : " ^0.1.16" ,
28
28
"css-loader" : " ^0.28.5" ,
29
29
"element-ui" : " ^1.4.3" ,
30
- "eslint" : " ^4.5.0 " ,
30
+ "eslint" : " ^4.6.1 " ,
31
31
"eslint-config-airbnb-base" : " ^11.3.2" ,
32
- "eslint-plugin-html" : " ^3.2.0" ,
33
32
"eslint-plugin-import" : " ^2.7.0" ,
33
+ "eslint-plugin-vue" : " ^2.1.0" ,
34
+ "eslint-plugin-vue-libs" : " ^1.2.1" ,
34
35
"extract-text-webpack-plugin" : " ^3.0.0" ,
35
36
"file-loader" : " ^0.11.2" ,
36
37
"html-webpack-plugin" : " ^2.30.1" ,
Original file line number Diff line number Diff line change 1
1
<template >
2
2
<div id =" app" >
3
- <layout ></layout >
3
+ <layout v-bind = " " ></layout >
4
4
</div >
5
5
</template >
6
6
@@ -9,8 +9,8 @@ import Layout from './components/layout';
9
9
import ' element-ui/lib/theme-default/index.css' ;
10
10
11
11
export default {
12
- name: ' app' ,
13
- components: {
12
+ name: ' app' ,
13
+ components: {
14
14
Layout,
15
15
},
16
16
};
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import ElementUI from 'element-ui';
2
2
import 'normalize.css' ;
3
3
import 'element-ui/lib/theme-default/index.css' ;
4
4
import Vue from 'vue' ;
5
- import App from './app' ;
5
+ import App from './app' ;
6
6
7
7
Vue . use ( ElementUI ) ;
8
8
/* eslint-disable no-new */
You can’t perform that action at this time.
0 commit comments