mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 22:25:12 +00:00
Change name of method link for path
This commit is contained in:
parent
68b0685339
commit
31257dfe3a
@ -15,7 +15,7 @@ export default ({ app, store }) => {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
app.i18n.link = (link) => {
|
app.i18n.path = (link) => {
|
||||||
if (app.i18n.locale === app.i18n.fallbackLocale) {
|
if (app.i18n.locale === app.i18n.fallbackLocale) {
|
||||||
return `/${link}`
|
return `/${link}`
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user