refactor(tools): config in query params

This commit is contained in:
Corentin Thomasset 2023-01-28 21:06:16 +01:00
parent 119041c185
commit db817a2459
No known key found for this signature in database
GPG key ID: DBD997E935996158
6 changed files with 126 additions and 24 deletions

View file

@ -32,8 +32,9 @@
import { useCopy } from '@/composable/copy';
import { ref, watch } from 'vue';
import { v4 as generateUUID } from 'uuid';
import { useQueryParam } from '@/composable/queryParams';
const count = ref(1);
const count = useQueryParam({ defaultValue: 1, name: 'count' });
const uuids = ref('');