mirror of
https://github.com/keven1024/015.git
synced 2026-05-26 07:08:02 +00:00
feat(front): add useAppConfig composable for fetching application configuration
This commit is contained in:
6
front/composables/useAppConfig.ts
Normal file
6
front/composables/useAppConfig.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
const useAppConfig = () => {
|
||||
const { data } = useFetch('/config')
|
||||
return data
|
||||
}
|
||||
|
||||
export default useAppConfig
|
||||
Reference in New Issue
Block a user