nvmserver,也是一个发布前端的,我也是第一次听说具体应该不是。
尝试用了一下vue.js项目倒是能部署成功,但是ssl证书也不知道在哪里配置。
yum install gitgit -versioncurl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bashwget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bashgit clone git://github.com/creationix/nvm.git ~/nvmcommand -v nvm (git安装可以跳过)echo "source ~/nvm/nvm.sh" >> ~/.bashrcsource ~/.bashrc nvm list-remotenvm install v(版本号) nvm use v(版本号)npm -gnpm install http-server -gnpm install -g servenohup serve -s [文件夹] -p [端口号]&
exit # 退出