kuat-test
v1.0.0
Published
swan miniprogram dts.
Downloads
2
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);