html手机调试
2024-09-04 14:00:02
长话短说
npm install anywhere -g
安装好后,cmd 命令 进入你要调试html页面的目录,运行 anywhere
AnyWhere 静态文件服务器
软件简介
AnyWhere是一款随启随用的静态文件服务器,可以随时随地将你的当前目录变成一个静态文件服务器的根目录。
安装:
npm install anywhere -g
使用:
$ anywhere
// or with port
$ anywhere -p 8000
// or start it but silent(don't open browser)
$ anywhere -s
// or with hostname
$ anywhere -h localhost -p 8888
// or with folder
$ anywhere -d ~/git/anywhere
// or enable html5 history
$ anywhere -f /index.html
使用帮助:
$ anywhere --help
Usage:
anywhere --help // print help information
anywhere // 8000 as default port, current folder as root
anywhere 8888 // 8888 as port
anywhere -p 8989 // 8989 as port
anywhere -s // don't open browser
anywhere -h localhost // localhost as hostname
anywhere -d /home // /home as root
anywhere -f /index.html // Enable html5 history,the index is /index.html
http://localhost:8000
执行命令后,默认浏览器将为您自动打开主页。
代码
最新文章
- Android中ListView实现图文并列并且自定义分割线(完善仿微信APP)
- 20145212&;20145204信息安全系统实验四报告
- 用python虚拟串口
- ExtJS笔记 Ext.data.Model
- Kafka集群部署
- node工具--connect
- Hadoop3.0新特性介绍,比Spark快10倍的Hadoop3.0新特性
- OpenGL的GLUT初始化函数[转]
- PHP新手入门1——表单
- [Sharepoint]备份 迁移 还原
- Linux free字段解析
- fedora 解决yumBackend.py进程CPU占用过高
- 问题:关于贴友一个用js传递value默认值的简单实现
- Redis被攻击
- MiniMetro Items
- iOS下WebRTC音视频通话(一)
- TCP、UDP通信
- Scala字节数组转换为数字
- [Hive_12] Hive 的自定义函数
- 转载: 一、linux cpu、内存、IO、网络的测试工具
热门文章
- [BUUCTF]PWN7——[OGeek2019]babyrop
- USACO 2021 Contest 1 Bronze 题解
- CF955C Sad powers 题解
- 分享自己做的一个指定进程以及线程长时间cpu监控的工具
- SpringBoot内嵌ftp服务
- 【蓝桥杯】非VIP基础题型训练17题 (Python 题解)
- CMAKE为项目输出名添加后缀
- 【LeetCode】264. Ugly Number II 解题报告(Java & Python)
- 【LeetCode】341. Flatten Nested List Iterator 解题报告(Python&C++)
- The more, The Better(hdu1561)