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