README
http-server 使用说明
搭建一个开发环境的http静态资源服务器
API
init(options) 初始化一个静态资源服务器
options:
static :配置静态资源目录 , 默认 dist
port : 端口号 , 默认 3000
这是一个演示测试案例
<script type="module">
import httpServerTimor from 'https://cdn.skypack.dev/http-server-timor';
</script>
搭建一个开发环境的http静态资源服务器
init(options) 初始化一个静态资源服务器
options:
static :配置静态资源目录 , 默认 dist
port : 端口号 , 默认 3000