keep settings in storage

This commit is contained in:
2022-11-17 22:04:39 +01:00
parent ce551d4a5b
commit 5c5bc50731
6 changed files with 78 additions and 7 deletions

View File

@@ -2,7 +2,7 @@
import Result from '../components/Result.vue';
import Code from '../components/Code.vue';
import { WELCOME_CODE } from '../app.config';
import { WELCOME_CODE, STORAGE_KEY_CODE } from '../app.config';
import Worker from '../file.worker.js?worker';
@@ -13,8 +13,6 @@ import SplitterPanel from 'primevue/splitterpanel';
import { defineComponent, shallowRef } from 'vue';
const STORAGE_KEY_CODE = 'code';
export default defineComponent({
components: {
Splitter, SplitterPanel,