From 28d14e69026131385c8cc20a5efd9f23de39a30a Mon Sep 17 00:00:00 2001 From: Nikita Rusetskii Date: Sun, 28 Jul 2024 12:06:47 +0200 Subject: [PATCH] Fix path for vue --- vue.config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vue.config.js b/vue.config.js index c48a1f7..660eeac 100644 --- a/vue.config.js +++ b/vue.config.js @@ -1,7 +1,8 @@ const { defineConfig } = require("@vue/cli-service"); module.exports = defineConfig({ transpileDependencies: true, - publicPath: "./", + publicPath: + process.env.NODE_ENV === "production" ? "/developer-portfolio/" : "/", css: { loaderOptions: { sass: {