Skip to content

Commit

Permalink
Merge pull request #30 from miteyema/dev
Browse files Browse the repository at this point in the history
fix nuxt-i18n
  • Loading branch information
miteyema authored Sep 8, 2020
2 parents d1ce8a5 + 3a61662 commit 43e21f4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 10 deletions.
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"dependencies": {
"@nuxtjs/sitemap": "^2.4.0",
"nuxt": "^2.14.4",
"nuxt-i18n": "^6.14.1"
"nuxt-i18n": "^6.14.2"
},
"devDependencies": {
"@nuxtjs/eslint-config": "^3.1.0",
Expand Down
8 changes: 2 additions & 6 deletions pages/privacy.vue
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
<!-- eslint-disable vue-i18n/no-raw-text -->
<template>
<div>
<h1 class="title">
Privacy
</h1>
<h1 class="title">Privacy</h1>
<h2 class="subtitle">
As I don't have time to translate, this will just stay in English.
<nuxt-link :to="localePath('index')">
Go back
</nuxt-link>
<nuxt-link :to="localePath('index')">Go back</nuxt-link>
</h2>
</div>
</template>
Expand Down

0 comments on commit 43e21f4

Please sign in to comment.