use devalue instead of serialize-javascript - fixes #112

This commit is contained in:
Rich Harris
2018-03-10 19:27:04 -05:00
parent fb24c862f3
commit 45b1147228
5 changed files with 55 additions and 3 deletions

View File

@@ -0,0 +1,11 @@
<h1>{{set.has('x')}}</h1>
<script>
export default {
preload() {
return {
set: new Set(['x'])
};
}
};
</script>