| 123456789101112131415161718 |
- import type { RemovableRef } from '@vueuse/core';
- import { useStorage } from '@vueuse/core';
- export interface UserMeta {
- nick: string;
- mail: string;
- link: string;
- }
- const useUserMeta = (): RemovableRef<UserMeta> =>
- useStorage<UserMeta>('WALINE_USER_META', {
- nick: '',
- mail: '',
- link: '',
- });
- const UserMeta = useUserMeta();
- export default UserMeta;
|