我使用的是Nuxt2.15.4,我使用nginx和pm2在云服务器上部署了我的应用程序。
我可以访问我的网站使用其域名地址。现在,我想在我的服务器上的另一篇文章中使用npm run dev,以便在主运行的网站旁边进行开发。例如,https://example.com:3333向我展示了dev ( live )模式,以便我能够实时看到更改。
我该怎么做??
我正在谷歌云平台上部署一个node.js网站,我想把我的简历保存在那里,它目前在我的本地目录中。我的代码如下:
import { Router } from 'express';
import * as express from 'express';
import * as path from 'path' ;
import * as pug from 'pug' ;
import * as fs from 'fs';
const index: Router = Router();