Froguard / tinylrs

A livereload server that include both static-file-server(just a script file) and websocket.
MIT License
8 stars 1 forks source link

有没有例子在 Koa2 middleware中用 #1

Closed xqy1992 closed 7 years ago

xqy1992 commented 8 years ago

如题,在KOA中有使用栗子么?或者express

Froguard commented 8 years ago

按着readme里面的说明,在html页面插入script标签,然后启动服务就行了...

你是需要koa中间件的形式?可以考虑自行封装