如何在 Plesk 上部署 NUXT3 SSR

问题描述 投票:0回答:0

我尝试了很多答案,但没有任何帮助, 运行命令后我应该做什么

npm run build

如何配置我的服务器 如何让 Plesk 服务器运行我的 js 文件

在服务器中设置 Nodejs:

Document Root : /httpdocs/public     Application Mode : production   Application URL : http://..... Application Root : /httpdocs Application Startup File : server.js

在“server.js”文件中我只有一行

import('./server/index.mjs');
但是服务器没有运行我的项目。和 .nuxt/server.js 的文件它什么都不做。

vue.js plesk nuxt3
© www.soinside.com 2019 - 2024. All rights reserved.