posva / mande

<700 bytes convenient and modern wrapper around fetch with smart extensible defaults
https://mande.esm.is
MIT License
1.2k stars 42 forks source link

Nuxt3 Migration #308

Open byronferguson opened 2 years ago

byronferguson commented 2 years ago

Looks like there is something missing/incompatible with Nuxt3


 ERROR  Error compiling template:  {                                                                                                                                                                                                                         12:28:10
  src: '/Users/byron/git/BigBlue/apps/website-nuxt3/node_modules/mande/nuxt/plugin.js',
  fileName: 'mande.js',
  options: {
    callError: true,
    proxyHeadersIgnore: [
      'accept',
      'host',
      'cf-ray',
      'cf-connecting-ip',
      'content-length',
      'content-md5',
      'content-type'
    ]
  },
  filename: 'mande.js',
  dst: '/Users/byron/git/BigBlue/apps/website-nuxt3/.nuxt/mande.js'
}

 ERROR  Cannot start nuxt:  serialize is not defined```
posva commented 1 year ago

the current plugin was based for Nuxt 2 so it will have to be upgraded to Nuxt 3