riotjs tests added
This commit is contained in:
parent
96acbc714d
commit
3348c33aa4
|
@ -0,0 +1,21 @@
|
|||
<sample>
|
||||
<h3>{ message }</h3>
|
||||
<ul>
|
||||
<li each={ techs }>{ name }</li>
|
||||
</ul>
|
||||
|
||||
<script>
|
||||
this.message = 'Hello, Riot!'
|
||||
this.techs = [
|
||||
{ name: 'HTML' },
|
||||
{ name: 'JavaScript' },
|
||||
{ name: 'CSS' }
|
||||
]
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
:scope { font-size: 2rem }
|
||||
h3 { color: #444 }
|
||||
ul { color: #999 }
|
||||
</style>
|
||||
</sample>
|
|
@ -0,0 +1,21 @@
|
|||
<sample>
|
||||
<h3>{ message }</h3>
|
||||
<ul>
|
||||
<li each={ techs }>{ name }</li>
|
||||
</ul>
|
||||
|
||||
<script>
|
||||
this.message = 'Hello, Riot!'
|
||||
this.techs = [
|
||||
{ name: 'HTML' },
|
||||
{ name: 'JavaScript' },
|
||||
{ name: 'CSS' }
|
||||
]
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
:scope { font-size: 2rem }
|
||||
h3 { color: #444 }
|
||||
ul { color: #999 }
|
||||
</style>
|
||||
</sample>
|
Loading…
Reference in New Issue