Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to Nuxt 3.12.4 and Vue 3.2.47 #229

Merged
merged 15 commits into from
Aug 27, 2024
Merged
5 changes: 3 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@ name: Node.js CI

on:
push:
pull_request:
branches: [ master ]
branches: [ main ]
pull_request_target:
branches: [ main ]

jobs:
build:
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ typings/

# nuxt.js build output
.nuxt
_nuxt
.output

# Nuxt generate
dist
Expand Down
2 changes: 1 addition & 1 deletion .gitpod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ tasks:

# exposed ports
ports:
- port: 8080
- port: 3000
onOpen: open-preview
visibility: public

Expand Down
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
6 changes: 6 additions & 0 deletions app.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<template>
<Navbar />
<div class="main-container">
<NuxtPage />
</div>
</template>
2 changes: 1 addition & 1 deletion components/Navbar.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<header id="header">
<nuxt-link to="/">
<img src="~/assets/images/mystore-logo.svg" alt="Mystore logo" />
<img src="~/public/images/mystore-logo.svg" alt="Mystore logo" />
</nuxt-link>
</header>
</template>
18 changes: 0 additions & 18 deletions layouts/default.vue

This file was deleted.

62 changes: 0 additions & 62 deletions nuxt.config.js

This file was deleted.

24 changes: 24 additions & 0 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
app: {
head: {
title: 'Checkout Demo'
}
},
runtimeConfig: {
adyenApiKey: process.env.ADYEN_API_KEY,
adyenMerchantAccount: process.env.ADYEN_MERCHANT_ACCOUNT,
adyenClientKey: process.env.ADYEN_CLIENT_KEY,
adyenHmacKey: process.env.ADYEN_HMAC_KEY,
},
css: ['~/public/css/main.css', '@adyen/adyen-web/dist/adyen.css'],
components: [
{
path: '~/components',
pathPrefix: false,
},
],
compatibilityDate: '2024-04-03',
devtools: { enabled: true },
telemetry: false
})
Loading
Loading