Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nuxt.js 应用的serverMiddleware 引入失败 #245

Open
linjiejim opened this issue Mar 21, 2022 · 0 comments
Open

nuxt.js 应用的serverMiddleware 引入失败 #245

linjiejim opened this issue Mar 21, 2022 · 0 comments

Comments

@linjiejim
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant