File tree Expand file tree Collapse file tree 3 files changed +39
-14
lines changed Expand file tree Collapse file tree 3 files changed +39
-14
lines changed Original file line number Diff line number Diff line change 27
27
@edit =" onEdit"
28
28
@initialize.once =" onEditorInitialize"
29
29
/>
30
- <message-list
31
- class =" app__errors"
32
- :messages =" messages"
33
- >
34
- Errors.
35
- </message-list >
30
+ <message-list class =" app__errors" :messages =" messages" />
36
31
</div >
37
32
</div >
38
33
<div class =" app__footer" >
39
34
<div class =" app__footer-message" />
40
35
<div
41
36
class =" app__version-item"
42
- v-for =" (version , name) in versions"
37
+ v-for =" (v , name) in versions"
43
38
:key =" name"
44
39
>
45
- {{ name }} {{ version }}
40
+ <a :href =" 'https://github.com/' + v.repo" >{{ name }}</a >
41
+ v{{ v.version }}
46
42
</div >
47
43
</div >
48
44
</div >
@@ -214,6 +210,8 @@ a:hover {
214
210
215
211
.app__footer {
216
212
display : flex ;
213
+ justify-content : flex-end ;
214
+ flex-wrap : wrap ;
217
215
flex-shrink : 0 ;
218
216
border-top : 1px solid #CCC ;
219
217
}
@@ -222,6 +220,7 @@ a:hover {
222
220
color : #B71C1C ;
223
221
}
224
222
.app__version-item {
223
+ flex-shrink : 0 ;
225
224
margin-right : 8px ;
226
225
}
227
226
.app__version-item :not (:last-child )::after {
Original file line number Diff line number Diff line change 1
1
export default {
2
- "eslint" : "0.0.0" ,
3
- "eslint-plugin-vue" : "0.0.0" ,
4
- "vue-eslint-parser" : "0.0.0" ,
2
+ "vue-eslint-demo" : {
3
+ repo : "mysticatea/vue-eslint-demo" ,
4
+ version : "0.0.0" ,
5
+ } ,
6
+ "eslint" : {
7
+ repo : "eslint/eslint" ,
8
+ version : "0.0.0" ,
9
+ } ,
10
+ "eslint-plugin-vue" : {
11
+ repo : "vuejs/eslint-plugin-vue" ,
12
+ version : "0.0.0" ,
13
+ } ,
14
+ "vue-eslint-parser" : {
15
+ repo : "mysticatea/vue-eslint-parser" ,
16
+ version : "0.0.0" ,
17
+ } ,
5
18
}
Original file line number Diff line number Diff line change 34
34
35
35
// Shim for `src/versions.js`
36
36
const VERSIONS = `export default ${ JSON . stringify ( {
37
- "eslint" : require ( "eslint/package.json" ) . version ,
38
- "eslint-plugin-vue" : require ( "eslint-plugin-vue/package.json" ) . version ,
39
- "vue-eslint-parser" : require ( "vue-eslint-parser/package.json" ) . version ,
37
+ "vue-eslint-demo" : {
38
+ repo : "mysticatea/vue-eslint-demo" ,
39
+ version : require ( "./package.json" ) . version ,
40
+ } ,
41
+ "eslint" : {
42
+ repo : "eslint/eslint" ,
43
+ version : require ( "eslint/package.json" ) . version ,
44
+ } ,
45
+ "eslint-plugin-vue" : {
46
+ repo : "vuejs/eslint-plugin-vue" ,
47
+ version : require ( "eslint-plugin-vue/package.json" ) . version ,
48
+ } ,
49
+ "vue-eslint-parser" : {
50
+ repo : "mysticatea/vue-eslint-parser" ,
51
+ version : require ( "vue-eslint-parser/package.json" ) . version ,
52
+ } ,
40
53
} ) } `
41
54
42
55
module . exports = {
You can’t perform that action at this time.
0 commit comments