0
0
mirror of https://github.com/sveltejs/svelte.git synced 2024-12-01 17:30:59 +01:00
svelte/test/server-side-rendering/samples/import-non-component/main.html

14 lines
240 B
HTML

<div>i got {{problems}} problems</div>
<div>the answer is {{answer}}</div>
<script>
import answer from './answer.js';
import problems from './problems.js';
export default {
data () {
return { answer, problems };
}
};
</script>