Skip to content

Commit

Permalink
Update to nuxt 3.14
Browse files Browse the repository at this point in the history
  • Loading branch information
thibaultrey committed Nov 26, 2024
1 parent 56473bf commit 7650c5e
Show file tree
Hide file tree
Showing 4 changed files with 2,832 additions and 3,011 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v20.9.0
v20.11.0
12 changes: 7 additions & 5 deletions components/cart/CartLine.vue
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
-->
<slot name="qty" :line="line" v-if="amount.total >= 0">
<div class="label">
{{ $t('cart.line.quantity') }}
{{ t('cart.line.quantity') }}
<span v-if="readonly === true">{{ line?.qty }}</span>
</div>
<div class="value">
Expand All @@ -78,11 +78,11 @@
v-if="!readonly"
type="button"
class="btn btn-link btn-xs p-0 text-xs"
:title="$t('cart.line.delete')"
:title="t('cart.line.delete')"
@click="deleteLine"
>
<icon name="remove" class="text-xl" />
{{ $t('cart.line.delete') }}
{{ t('cart.line.delete') }}
</button>
</div>

Expand All @@ -93,7 +93,7 @@
-->
<slot name="price" :line="line">
<div class="label">
{{ $t('cart.line.total') }}
{{ t('cart.line.total') }}
</div>
<div class="value">
<div v-if="line.amount.discountTotal !== 0" class="price__original">
Expand Down Expand Up @@ -159,9 +159,11 @@ export default defineNuxtComponent({
},
setup() {
const localePath = useLocalePath()
const { t } = useI18n()
return {
localePath,
formatCurrency
formatCurrency,
t
}
},
computed: {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"eslint": "^9.4.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"nuxt": "^3.12.4",
"nuxt": "^3.14.159",
"nuxt-delay-hydration": "^1.3.5",
"nuxt-schema-org": "^3.3.8",
"prettier": "^3.3.2",
Expand Down
Loading

0 comments on commit 7650c5e

Please sign in to comment.