test that default data is overridden

pull/70/head
Rich Harris 8 years ago
parent edb3946ba6
commit 0cee0a7d7e

@ -0,0 +1,7 @@
export default {
data: {
name: 'everybody'
},
html: '<h1>Hello everybody!</h1>'
};

@ -0,0 +1,9 @@
<h1>Hello {{name}}!</h1>
<script>
export default {
data: () => ({
name: 'world'
})
};
</script>
Loading…
Cancel
Save