mirror of https://github.com/sveltejs/svelte
parent
9f8ee62b7d
commit
0e1b4c60ee
@ -0,0 +1 @@
|
||||
<a href='mailto:{{address}}'>email</a>
|
@ -0,0 +1,3 @@
|
||||
export default {
|
||||
html: `<a href='mailto:hello@example.com'>email</a>`
|
||||
};
|
@ -0,0 +1,9 @@
|
||||
<Email address='hello@example.com'/>
|
||||
|
||||
<script>
|
||||
import Email from './Email.html';
|
||||
|
||||
export default {
|
||||
components: { Email },
|
||||
};
|
||||
</script>
|
Loading…
Reference in new issue