Skip to content

clemcode/ofetch-custom-instance

Repository files navigation

ofetch-custom-instance

Edit on StackBlitz ⚡️

Ofetch

Description

In this example, a custom instance of ofetch is created in the /utils directory.

This instance is made available in the application context :

  • through the plugin ~/plugins/app-fetch.ts (const { $appFetch } = useNuxtApp())

  • through the composable useAppFetch.

About

Created with StackBlitz ⚡️

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published