File tree Expand file tree Collapse file tree 1 file changed +27
-27
lines changed Expand file tree Collapse file tree 1 file changed +27
-27
lines changed Original file line number Diff line number Diff line change 11<!DOCTYPE html>
22< html >
3- < head >
4- < meta charset ="utf-8 ">
5- < title > Simple template</ title >
6- < script src ="main.js " defer > </ script >
7- </ head >
8- < body >
9- < h1 > Simple template</ h1 >
3+ < head >
4+ < meta charset ="utf-8 ">
5+ < title > Simple template</ title >
6+ < script src ="main.js " defer > </ script >
7+ </ head >
8+ < body >
9+ < h1 > Simple template</ h1 >
1010
11- < template id ="my-paragraph ">
12- < style >
13- p {
14- color : white;
15- background-color : # 666 ;
16- padding : 5px ;
17- }
18- </ style >
19- < p > < slot name ="my-text "> My default text</ slot > </ p >
20- </ template >
11+ < template id ="my-paragraph ">
12+ < style >
13+ p {
14+ color : white;
15+ background-color : # 666 ;
16+ padding : 5px ;
17+ }
18+ </ style >
19+ < p > < slot name ="my-text "> My default text</ slot > </ p >
20+ </ template >
2121
22- < my-paragraph >
23- < span slot ="my-text "> Let's have some different text!</ span >
24- </ my-paragraph >
22+ < my-paragraph >
23+ < span slot ="my-text "> Let's have some different text!</ span >
24+ </ my-paragraph >
2525
26- < my-paragraph >
27- < ul slot ="my-text ">
28- < li > Let's have some different text!</ li >
29- < li > In a list!</ li >
30- </ ul >
31- </ my-paragraph >
26+ < my-paragraph >
27+ < ul slot ="my-text ">
28+ < li > Let's have some different text!</ li >
29+ < li > In a list!</ li >
30+ </ ul >
31+ </ my-paragraph >
3232
33- </ body >
33+ </ body >
3434</ html >
You can’t perform that action at this time.
0 commit comments