From 5d10ac918e22e99bae68a822e4366e8936cef83a Mon Sep 17 00:00:00 2001 From: pskfyi Date: Wed, 12 Jan 2022 18:46:39 -0800 Subject: [PATCH] fix: assets should use relative paths for itch.io --- nuxt.config.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/nuxt.config.js b/nuxt.config.js index 077e9ed..46455bd 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -73,7 +73,12 @@ export default { }, // Build Configuration: https://go.nuxtjs.dev/config-build - build: {}, + build: { + publicPath: './_nuxt/', + extend(config) { + config.output.publicPath = './_nuxt/' + }, + }, router: { mode: 'hash',