From 8937b0ac853e13b4ae24d651b6569b78c5648ea8 Mon Sep 17 00:00:00 2001 From: Vitor Mattos Date: Fri, 12 Jan 2024 12:11:41 -0300 Subject: [PATCH] Use defineConfig function Signed-off-by: Vitor Mattos --- vue.config.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/vue.config.js b/vue.config.js index 508bbb1..0a6c669 100644 --- a/vue.config.js +++ b/vue.config.js @@ -1,5 +1,6 @@ const publicPath = process.env.PUBLIC_PATH ? process.env.PUBLIC_PATH : "./"; -module.exports = { +const { defineConfig } = require('@vue/cli-service') +module.exports = defineConfig({ publicPath: publicPath, pages: { index: { @@ -36,4 +37,4 @@ module.exports = { } } -} +})