1.1.7 • Published 1 year ago

@solanyan/nuxt-ofetch-configure v1.1.7

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

NOTICE

Not tested to work well.

FEATURE

  • Nuxt3 plugin (Not for nuxt2)
  • override globalThis.$fetch

Install

  • Run npm install @solanyan/nuxt-ofetch-configure
  • Add plugin file for install
    • import OfetchConfigureInstallHelper make install easy

Exsample

~/plugin/ofetch.ts

export default defineNuxtPlugin((nuxtApp) => {
    OfetchConfigureInstallHelper(nuxtApp, {
        baseURL: 'https://localhost:8443/',
        credentials: 'include',
        CSRF: {
            ENABLE: true,
        },
    })
})

Options

Licence

MIT License © 2022 Sola-nyan

1.1.7

1 year ago

1.1.6

1 year ago

1.1.5

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago

1.1.3

1 year ago

1.1.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago