diff --git a/package.json b/package.json index 4a3df4a..70d5503 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@pdanpdan/quasar-play", - "version": "1.0.4", + "version": "1.0.5", "description": "Playground for Quasar Framework", "productName": "Quasar Play", "author": { diff --git a/src/App.vue b/src/App.vue index 0bddb0f..8c189f7 100644 --- a/src/App.vue +++ b/src/App.vue @@ -63,11 +63,12 @@ const previewOptions = { ].join('\n'), }; const versions = parseVersions(); -const hash = location.hash.slice(1); +const hash = location.hash.slice( 1 ); const store = useReplStore({ serializedState: hash, versions, + showOutput: ( new URLSearchParams( location.search ) ).has( 'preview' ), }); const { ssr } = store;