Skip to content

Commit

Permalink
fix(storybook): add i18n stubs
Browse files Browse the repository at this point in the history
  • Loading branch information
devCrossNet committed Jan 10, 2023
1 parent 8683773 commit 4ee7d57
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .storybook/preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ app.component('nuxt-link', {
app.mixin({
created() {
this.localePath = (path) => path;
this.$t = (key) => key;
this.$n = (key) => key;
this.t = (key) => key;
this.n = (key) => key;
},
});
app.mixin({
Expand Down

0 comments on commit 4ee7d57

Please sign in to comment.