mirror of
https://github.com/ArthurDanjou/website-old.git
synced 2026-01-19 06:21:47 +01:00
💻 | Working so hard on the design review
This commit is contained in:
7
src/plugins/i18n.ts
Normal file
7
src/plugins/i18n.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import {Context} from "@nuxt/types";
|
||||
|
||||
export default function ({ app }: Context) {
|
||||
app.i18n.onLanguageSwitched = async () => {
|
||||
await window.$nuxt.refresh()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user