:)nodejs服务器Anywhere

Anywhere是一个随启随用的静态服务器,它可以随时随地将你的当前目录变成一个静态文件服务器的根目录。

一,安装node

在nodejs官网下载,安装后打开cmd命令行,输入node -v 查看是否安装成功,安装成功则会出现node的版本号,如:

 
vue 打包后本地先自己启动服务 anywhere 非常好用
安装node
二,在命令行执行 npm install anywhere -g
npm install anywhere -g  

如果出现的界面带有anywhere的版本号,说明安装成功,如:


 
vue 打包后本地先自己启动服务 anywhere 非常好用
安装anywhere
三,然后在你需要的文件夹目录下执行anywhere
anywhere
 
vue 打包后本地先自己启动服务 anywhere 非常好用
执行anywhere
四,在浏览器输入地址

当当当!

 
vue 打包后本地先自己启动服务 anywhere 非常好用
浏览器打开地址

:)大功告成啦~是不是超级方便呢




相关文章:

  • 2022-12-23
  • 2021-11-19
  • 2021-09-23
  • 2021-05-06
  • 2021-09-04
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-21
  • 2022-03-03
  • 2022-12-23
  • 2021-10-27
相关资源
相似解决方案