Skip to content

Commit 10c11f7

Browse files
committed
Changed config
1 parent 5dd0267 commit 10c11f7

File tree

3 files changed

+9
-11
lines changed

3 files changed

+9
-11
lines changed

.github/workflows/nuxtjs.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,6 @@ jobs:
5151
with:
5252
node-version: "20"
5353
cache: ${{ steps.detect-package-manager.outputs.manager }}
54-
- name: Setup Pages
55-
uses: actions/configure-pages@v5
56-
with:
57-
# Automatically inject router.base in your Nuxt configuration file and set
58-
# target to static (https://nuxtjs.org/docs/configuration-glossary/configuration-target/).
59-
#
60-
# You may remove this line if you want to manage the configuration yourself.
61-
static_site_generator: nuxt
6254
- name: Restore cache
6355
uses: actions/cache@v4
6456
with:

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ node_modules
44
.output
55
github
66
github.pub
7+
dist

nuxt.config.ts

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,19 @@
11
// https://nuxt.com/docs/api/configuration/nuxt-config
22
export default defineNuxtConfig({
33
ssr: false,
4+
nitro:{
5+
preset: "github_pages",
6+
},
7+
app: {
8+
baseURL: '/'
9+
},
410
devtools: { enabled: true },
511
css:[
6-
"assets/css/main.css",
7-
"assets/css/colors.css",
12+
"/assets/css/main.css",
13+
"/assets/css/colors.css",
814
],
915
modules: [
1016
'@nuxt/hints',
11-
'@nuxt/image',
1217
'@nuxt/test-utils',
1318
'@nuxt/ui',
1419
'@nuxt/scripts',

0 commit comments

Comments
 (0)