feat(front): add useAppConfig composable for fetching application configuration

This commit is contained in:
keven1024
2025-05-15 11:13:30 +08:00
parent 038487b482
commit d2d11ef9d8

View File

@@ -0,0 +1,6 @@
const useAppConfig = () => {
const { data } = useFetch('/config')
return data
}
export default useAppConfig