uskycloud门户网站

13127578837 6f17450aff 添加备案信息 9 months ago
public 6ebcd8a89c 上服务器看效果 11 months ago
src 6f17450aff 添加备案信息 9 months ago
.eslintrc.cjs 2d63116cfd gx 11 months ago
.gitignore 7b2256a967 完成 11 months ago
README.md ee9daf36c9 添加百度统计及注解README 10 months ago
auto-imports.d.ts 6fb8582ca5 模版 11 months ago
components.d.ts 2d63116cfd gx 11 months ago
index.html 0842d0020d 百度录入修改、申诉鉴权 10 months ago
package-lock.json 269571a832 dev正常,ssr数据同步异常 11 months ago
package.json 5270403073 添加两个域名百度统计 10 months ago
server.js e7d66c4528 接口指向https 10 months ago
tsconfig.json 2d63116cfd gx 11 months ago
tsconfig.node.json 6fb8582ca5 模版 11 months ago
vite.config.ts 3d50a3f4f4 加入模版判断 10 months ago

README.md

运行命令

npm run build:client 构建客户端
npm run build:server 构建服务端
npm run build:ssr 构建客户、服务端
npm run dev:ssr 开发环境服务端渲染
npm run prod:ssr 生产环境服务端渲染

linux进程守护1

1. 安装screen   
   screen -v 查询版本
2. 创建进程(usky-ssr自定义) screen -S usky-ssr
   输入 npm run prod:ssr 回车 运行程序
3. 退出并守护进程 快捷键(ctrl + a + d)
4. 进入进程 screen -r usky-ssr
5. 退出进程 screen -X -S usky-ssr quit

linux进程守护2

1. npm run prod:ssr&