mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-11-30 07:34:10 -05:00
15 lines
278 B
TypeScript
15 lines
278 B
TypeScript
import axios from "axios";
|
|
import type { AppInfo } from "~/lib/api/types/admin";
|
|
|
|
export default defineNuxtPlugin({
|
|
async setup() {
|
|
const { data } = await axios.get<AppInfo>("/api/app/about");
|
|
|
|
return {
|
|
provide: {
|
|
appInfo: data,
|
|
},
|
|
};
|
|
},
|
|
});
|