From: Evan You Date: Sun, 28 Mar 2021 06:24:25 +0000 (-0400) Subject: chore: default code for sfc playground X-Git-Tag: v3.0.10~37 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e3984fd5b4fa02b28947ebf769413d2e31e971d;p=thirdparty%2Fvuejs%2Fcore.git chore: default code for sfc playground --- diff --git a/packages/sfc-playground/src/store.ts b/packages/sfc-playground/src/store.ts index f4f122024e..d3a892acbb 100644 --- a/packages/sfc-playground/src/store.ts +++ b/packages/sfc-playground/src/store.ts @@ -9,7 +9,23 @@ import { } from '@vue/compiler-sfc' const storeKey = 'sfc-code' -const saved = localStorage.getItem(storeKey) || '' +const saved = + localStorage.getItem(storeKey) || + ` + + + + + +`.trim() // @ts-ignore export const sandboxVueURL = import.meta.env.PROD