Skip to content

Commit 7650c5e

Browse files
committed
Update to nuxt 3.14
1 parent 56473bf commit 7650c5e

File tree

4 files changed

+2832
-3011
lines changed

4 files changed

+2832
-3011
lines changed

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v20.9.0
1+
v20.11.0

components/cart/CartLine.vue

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
-->
5959
<slot name="qty" :line="line" v-if="amount.total >= 0">
6060
<div class="label">
61-
{{ $t('cart.line.quantity') }}
61+
{{ t('cart.line.quantity') }}
6262
<span v-if="readonly === true">{{ line?.qty }}</span>
6363
</div>
6464
<div class="value">
@@ -78,11 +78,11 @@
7878
v-if="!readonly"
7979
type="button"
8080
class="btn btn-link btn-xs p-0 text-xs"
81-
:title="$t('cart.line.delete')"
81+
:title="t('cart.line.delete')"
8282
@click="deleteLine"
8383
>
8484
<icon name="remove" class="text-xl" />
85-
{{ $t('cart.line.delete') }}
85+
{{ t('cart.line.delete') }}
8686
</button>
8787
</div>
8888

@@ -93,7 +93,7 @@
9393
-->
9494
<slot name="price" :line="line">
9595
<div class="label">
96-
{{ $t('cart.line.total') }}
96+
{{ t('cart.line.total') }}
9797
</div>
9898
<div class="value">
9999
<div v-if="line.amount.discountTotal !== 0" class="price__original">
@@ -159,9 +159,11 @@ export default defineNuxtComponent({
159159
},
160160
setup() {
161161
const localePath = useLocalePath()
162+
const { t } = useI18n()
162163
return {
163164
localePath,
164-
formatCurrency
165+
formatCurrency,
166+
t
165167
}
166168
},
167169
computed: {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"eslint": "^9.4.0",
5252
"eslint-config-prettier": "^9.1.0",
5353
"eslint-plugin-prettier": "^5.1.3",
54-
"nuxt": "^3.12.4",
54+
"nuxt": "^3.14.159",
5555
"nuxt-delay-hydration": "^1.3.5",
5656
"nuxt-schema-org": "^3.3.8",
5757
"prettier": "^3.3.2",

0 commit comments

Comments
 (0)