Skip to content

Commit

Permalink
fix(css): works when serving statically locally so it
Browse files Browse the repository at this point in the history
 should on github pages
  • Loading branch information
hutchic committed Aug 30, 2024
1 parent 058346a commit 02d63d0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,7 @@ clean:
package: clean build
UID=$$(id -u) GID=$$(id -g) docker compose up -d nuxt
docker compose exec --user=root nuxt chown -R node:node /src
UID=$$(id -u) GID=$$(id -g) docker compose exec nuxt /bin/bash -c "NUXT_APP_BASE_URL=/boat-share/ npx nuxt build --force-dev --preset github_pages"
UID=$$(id -u) GID=$$(id -g) docker compose exec nuxt /bin/bash -c "NUXT_APP_BASE_URL=/boat-share/ \
NODE_ENV=production \
npx nuxt generate --force-dev --preset github_pages"
$(MAKE) stop

0 comments on commit 02d63d0

Please sign in to comment.