Skip to content

Commit 7af4511

Browse files
author
github-actions[bot]
committed
update config for github pages
1 parent 3d1ca1d commit 7af4511

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

.github/workflows/gh-pages.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@v4
14-
with:
15-
ref: website
16-
- run: corepack enable
1714

1815
- uses: actions/setup-node@v4
1916
with:

nuxt.config.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
// https://nuxt.com/docs/api/configuration/nuxt-config
22
export default defineNuxtConfig({
3+
target: 'static',
34
app: {
5+
baseURL: '/Gogh/',
46
head: {
57
charset: 'utf-8',
68
viewport: 'width=device-width, initial-scale=1',
@@ -48,10 +50,8 @@ export default defineNuxtConfig({
4850
modules: [
4951
'@morev/vue-transitions/nuxt',
5052
],
51-
target: 'static',
52-
router: {
53-
base: '/Gogh/'
54-
},
53+
54+
5555
devtools: { enabled: true },
5656
compatibilityDate: '2024-04-03'
5757
})

0 commit comments

Comments
 (0)