mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 14:15:13 +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) {
|
||||
return `/${link}`
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user