mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-06-09 03:27:32 +08:00
chore: migrate legacy pages and utilities to nuxt
This commit is contained in:
7
frontend_nuxt/router/index.js
Normal file
7
frontend_nuxt/router/index.js
Normal file
@@ -0,0 +1,7 @@
|
||||
export default {
|
||||
push(path) {
|
||||
if (process.client) {
|
||||
window.location.href = path
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user