kuat
v1.0.9
Published
swan miniprogram dts.
Downloads
5
Readme
kuat-swan小程序的dts
使用时直接在代码中引入,例如:
import swan, {AppConfig} from 'kuat';
const appConfig: AppConfig = {
globalData: ref({}),
onLaunch() {},
onShow() {},
onHide() {},
onError() {},
onPageNotFound() {},
beforePageChange(to, from, next) {},
afterPageChange(to, from) {}
};
swan.App(appConfig);