1.0.0 • Published 5 years ago
anyfolder v1.0.0
anywhere
node构建本地服务器
安装
npm i -g anywhere
使用方法
anywhere # 把当前文件夹作为静态资源服务器根目录
anywhere -p 3000 # 设置端口号为 3000
anywhere -h localhost # 设置 host 为localhost
anywhere -d /usr # 设置根目录为 /usr
1.0.0
5 years ago
node构建本地服务器
npm i -g anywhere
anywhere # 把当前文件夹作为静态资源服务器根目录
anywhere -p 3000 # 设置端口号为 3000
anywhere -h localhost # 设置 host 为localhost
anywhere -d /usr # 设置根目录为 /usr
5 years ago