upgrade from webpack to vite + typescript

This commit is contained in:
2022-03-18 11:40:43 +01:00
parent 0ccb76345e
commit 9a6d24193d
71 changed files with 8459 additions and 15632 deletions

View File

@@ -1,17 +1,17 @@
import router from "../router";
export const GoToMatch = (id) => {
router.push({name: 'Match', params: {match_id: id}})
}
router.push({ name: "Match", params: { match_id: id } });
};
export const GoToPlayer = (id) => {
router.push({name: 'Player', params: {id: id}})
}
router.push({ name: "Player", params: { id: id } });
};
export const GoToError = (code) => {
router.push({name: code})
}
router.push({ name: code });
};
export const GoToLink = (link) => {
router.replace(link)
}
router.replace(link);
};