跳转到内容
View in the app

A better way to browse. Learn more.

彼岸论坛

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
欢迎抵达彼岸 彼岸花开 此处谁在 -彼岸论坛

[问与答] 有偿请教前端 nuxt 项目部署问题

发表于

-我用 nuxt3 搭建了了一个项目,在本地无论是 npm dev 还是 npm start 还是 node ./server/index.mjs 都可以通过浏览器右键查看网页源码观察到正确的实现了服务端渲染,但是当我部署到服务器后,右键查看源码会发现网络请求并未嵌入 HTML ,同时有一段报错。但是网页内容还是显示出来了,只是没有实现服务端渲染,请教下该如何排查解决

[["Reactive",1],{"data":2,"state":3,"once":9,"_errors":10,"serverRendered":6,"path":15,"pinia":16},{},{"$scolor-mode":4,"$srecommends":8},{"preference":5,"value":5,"unknown":6,"forced":7},"system",true,false,[],["Set"],{"recommends":11},["NuxtError",12],{"message":13,"statusCode":14},"[GET] "/api/bookrecommendbeans/": \u003Cno response> Response is not defined",500, "/hotbooks",{"hot":17,"clickedPage":19},{"hot":18},null,{"page":18}]

详细的信息可以 v:c2VlZWVhbF8=

Featured Replies

No posts to show

创建帐户或登录来提出意见

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.