You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@sweetim as per my comment in #15 I will be updating this module to support Nuxt 2.0 over the next few days, so I'll get back to you on this as and when I have done so.
I found setting "module": "es2015" in tsconfig.json worked for a typescript file. It compiles once, so in nuxt dev mode, serverMiddleware file changes will not hot-reload, but otherwise it seems to work for me.
I try to write a simple
serverMiddlerware
using a.ts
, but it complainsfor reference my
sample.ts
file is belowand in the
nuxt.config.js
, i set the serverMiddleware as belowmay I know how to resolve this problem?
The text was updated successfully, but these errors were encountered: