mirror of
https://github.com/sveltejs/svelte.git
synced 2024-12-01 17:30:59 +01:00
17 lines
219 B
Svelte
17 lines
219 B
Svelte
<script>
|
|
import Two from './Two.svelte';
|
|
|
|
export let message;
|
|
</script>
|
|
|
|
<div>green: {message}</div>
|
|
|
|
<!-- Two styles should *not* be included -->
|
|
<!-- <Two {message}/> -->
|
|
|
|
<style>
|
|
div {
|
|
color: green;
|
|
}
|
|
</style>
|