🧹 chore(clean): whole src files

This commit is contained in:
Eshan Roy (Eshanized)
2024-06-16 23:16:32 +05:30
parent edc45c757d
commit 8f7130024e
120 changed files with 41 additions and 20275 deletions

View File

@@ -1,5 +0,0 @@
# `utils/` [Directory](https://nuxt.com/docs/guide/directory-structure/utils)
Nuxt 3 uses the `utils/` directory to automatically import helper functions and other utilities throughout your application using auto-imports!
>> The main purpose of the `utils/` directory is to allow a semantic distinction between your Vue composables and other auto-imported utility functions.The way utils/ auto-imports work and are scanned is identical to the [composables/ directory](https://nuxt.com/docs/guide/directory-structure/composables). You can see examples and more information about how they work in that section of the docs.

View File

@@ -1,14 +0,0 @@
/**
* Get a gist from Github API by gist ID
* @param {*} gistId
* @returns
*/
const getGistById = async (gistId) => {
const response = await fetch('https://api.github.com/gists/' + gistId)
return response.json()
}
module.exports = {
getGistById
}