File tree Expand file tree Collapse file tree 3 files changed +9
-11
lines changed
Expand file tree Collapse file tree 3 files changed +9
-11
lines changed Original file line number Diff line number Diff line change 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 :
Original file line number Diff line number Diff line change @@ -4,3 +4,4 @@ node_modules
44.output
55github
66github.pub
7+ dist
Original file line number Diff line number Diff line change 11// https://nuxt.com/docs/api/configuration/nuxt-config
22export 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' ,
You can’t perform that action at this time.
0 commit comments