wkitd/src/constants.js

13 lines
356 B
JavaScript
Raw Normal View History

/**
* {框架常量}
* @author yutent<yutent.io@gmail.com>
* @date 2023/08/15 10:15:54
*/
export const __ROUTER__ = Symbol('router')
export const __ROUTER_VIEW__ = Symbol('router-view')
export const __STORE__ = Symbol('store')
export const WKITD_COMPONENTS = new Set()
export const STORE_CALLBACKS = new Map()
export const ROUTE_CALLBACKS = new Set()