consistent query parameter handling between client and server - fixes #497

This commit is contained in:
Rich Harris
2018-10-27 11:36:18 -04:00
parent ab52aabd1d
commit eadefd996b
5 changed files with 33 additions and 15 deletions

View File

@@ -1,9 +1 @@
<h1>message: "{message}"</h1>
<script>
export default {
preload({ query }) {
return query;
}
};
</script>
<h1>{JSON.stringify(query)}</h1>