Skip to content

Commit

Permalink
fix: removed app.$t API as it never worked
Browse files Browse the repository at this point in the history
 It needs to be called on the VueI18n instance.
  • Loading branch information
rchl committed Sep 3, 2019
1 parent e2e3bca commit ca198e5
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/plugins/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -185,11 +185,6 @@ export default async (context) => {
// Current route. Updated from middleware also.
app.i18n.__route = route

// Extension of Vue
if (!app.$t) {
app.$t = app.i18n.t
}

// Inject seo function
Vue.prototype.$nuxtI18nSeo = nuxtI18nSeo

Expand Down

0 comments on commit ca198e5

Please sign in to comment.