UNPKG
@jianghe/sand-moco
Version:
latest (2.1.5)
2.1.5
2.1.4
2.1.3
2.1.2
2.1.1
2.1.0
2.0.1-0
2.0.0-1
2.0.0-0
1.3.0
1.2.4
1.2.4-0
1.2.3
1.2.3-12
1.2.3-11
1.2.3-10
1.2.3-9
1.2.3-8
1.2.3-7
1.2.3-6
1.2.3-5
1.2.3-4
1.2.3-3
1.2.3-2
sand移动端单页核心框架
github.com/372623460jh/sand
372623460jh/sand
@jianghe/sand-moco
/
lib
/
common
/
addListen.d.ts
11 lines
(10 loc)
•
292 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
interface
listenOpts
{ webpackRouteConfig: __WebpackModuleApi.RequireContext; defaultRoute:
string
; rootEle:
string
; }
/** * 获取路由配置,并根据路由配置,形成hash监听 */
declare
function
addListen
(
opts: listenOpts
):
void
; export
default
addListen;