refactor: everything to nuxt.js
This commit is contained in:
7
app/utils/misc.ts
Normal file
7
app/utils/misc.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
export function getNewId(): string {
|
||||
return [...Array(20)]
|
||||
.map(() => Math.floor(Math.random() * 16).toString(16))
|
||||
.join('');
|
||||
}
|
||||
|
||||
export type LoadingTypes = 'loaded' | 'pending' | 'error' | undefined;
|
||||
Reference in New Issue
Block a user