File tree Expand file tree Collapse file tree 9 files changed +36
-12
lines changed
Expand file tree Collapse file tree 9 files changed +36
-12
lines changed Original file line number Diff line number Diff line change @@ -7,4 +7,5 @@ import template from './app.vue'
77 mixins : [ template ]
88} )
99export default class App extends Vue {
10+
1011}
Original file line number Diff line number Diff line change 11@import " base/base" ;
22
3+ .h3 {
4+ color : goldenrod ;
5+ }
Original file line number Diff line number Diff line change 11<template >
22 <div >
33 <h1 >Hello, {{ name }}</h1 >
4+ <slot ></slot >
5+ <h3 class =" h3" >fff</h3 >
46 </div >
57</template >
68<style src="./hello.scss " lang="scss" scoped></style >
Original file line number Diff line number Diff line change 11@import " base/base" ;
2+
3+ .view-home {
4+ color : red ;
5+
6+ .hello {
7+ color : green ;
8+
9+ /deep / {
10+ .h3 {
11+ color : #0f8 ;
12+ }
13+ }
14+ }
15+
16+ .h2 {
17+ color : blue ;
18+ }
19+ }
Original file line number Diff line number Diff line change 11<template >
2- <div >
3- <hello name =" Vue-Typescript" ></hello >
2+ <div class =" view-home" >
3+ <hello name =" Vue-Typescript" class =" hello" >
4+ <h2 class =" h2" >This is H2</h2 >
5+ </hello >
46 <router-link to =" product" >Product</router-link >
57 </div >
68</template >
Original file line number Diff line number Diff line change 66 */
77@import " base/base" ;
88
9- .box {
10- width : 100px ;
11- height : 100px ;
12- }
13-
149.list {
15- color : green ;
10+ color : red ;
1611}
Original file line number Diff line number Diff line change 1010 </div >
1111</template >
1212<style src="./list.scss " lang="scss" module></style >
13+ <!-- <style lang="scss" module>
14+ .list {
15+ color: green;
16+ }
17+ </style>-->
Original file line number Diff line number Diff line change 11/**
22* Generate component files
3- * @date 2017-03-07 17:21:25
43* @author Allenice
5- * @link http://www.allenice233.com
4+ * @date 2017-03-07 17:21:25
65*/
76
87'use strict'
Original file line number Diff line number Diff line change 11/**
22* confirm
3- * @date 2017-03-07 17:01:16
43* @author Allenice
5- * @link http://www.allenice233.com
4+ * @date 2017-03-07 17:01:16
65*/
76
87'use strict'
You can’t perform that action at this time.
0 commit comments