cloudbase-framework icon indicating copy to clipboard operation
cloudbase-framework copied to clipboard

nuxt.js 应用的serverMiddleware 引入失败

Open linjiejim opened this issue 2 years ago • 0 comments

nuxt.js ssr 应用中,使用serverMidddleware 插件用于封装api routes。本地运行没有问题,部署上腾讯云后出现以下错误信息。

Screen Shot 2022-03-21 at 8 09 27 PM

nuxt.config.js Screen Shot 2022-03-21 at 8 09 57 PM

api/index.js Screen Shot 2022-03-21 at 8 12 34 PM

linjiejim avatar Mar 21 '22 12:03 linjiejim