mirror of https://github.com/sveltejs/svelte
18 lines
220 B
18 lines
220 B
8 years ago
|
<p class='{{unknown}}'>this is styled</p>
|
||
|
<p class='bar'>this is unstyled</p>
|
||
|
|
||
|
<style>
|
||
|
.foo {
|
||
|
color: red;
|
||
|
}
|
||
|
</style>
|
||
|
|
||
|
<script>
|
||
|
export default {
|
||
|
data () {
|
||
|
return {
|
||
|
unknown: 'whatever'
|
||
|
};
|
||
|
}
|
||
|
};
|
||
|
</script>
|