mirror of
https://github.com/youzan/vant.git
synced 2025-10-21 11:17:41 +00:00
feat(cli): support custom simulator (#8499)
This commit is contained in:
@@ -120,6 +120,8 @@ router.afterEach(() => {
|
||||
nextTick(syncPathToChild);
|
||||
});
|
||||
|
||||
listenToSyncPath(router);
|
||||
if (config.site.simulator?.syncPathFromSimulator !== false) {
|
||||
listenToSyncPath(router);
|
||||
}
|
||||
|
||||
window.vueRouter = router;
|
||||
|
Reference in New Issue
Block a user