We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9fd15ba commit d3ee13dCopy full SHA for d3ee13d
src/store.ts
@@ -255,6 +255,7 @@ export function useStore(
255
delete files[importMapFile]
256
}
257
258
+ if (vueVersion.value) files._version = vueVersion.value
259
return '#' + utoa(JSON.stringify(files))
260
261
const deserialize: ReplStore['deserialize'] = (serializedState: string) => {
@@ -275,7 +276,6 @@ export function useStore(
275
276
const normalized = stripSrcPrefix(filename)
277
exported[normalized] = file.code
278
- if (vueVersion.value) exported._version = vueVersion.value
279
return exported
280
281
const setFiles: ReplStore['setFiles'] = async (
0 commit comments