diff --git a/generators/vue/resources/package.json b/generators/vue/resources/package.json index f7790d9d0a87..8cd45e06dba4 100644 --- a/generators/vue/resources/package.json +++ b/generators/vue/resources/package.json @@ -58,9 +58,9 @@ "vite": "4.4.9", "vitest": "0.34.4", "vitest-sonar-reporter": "0.4.1", - "vue-tsc": "1.8.8", "vue-loader": "17.2.2", "vue-style-loader": "4.1.3", + "vue-tsc": "1.8.8", "webpack": "5.88.2", "webpack-bundle-analyzer": "4.9.1", "webpack-cli": "5.1.4", diff --git a/generators/vue/templates/webpack/webpack.common.js.ejs b/generators/vue/templates/webpack/webpack.common.js.ejs index 67b05088d099..96f0aee5cbb4 100644 --- a/generators/vue/templates/webpack/webpack.common.js.ejs +++ b/generators/vue/templates/webpack/webpack.common.js.ejs @@ -141,7 +141,7 @@ module.exports = async (env, options) => { <%_ if (enableTranslation) { _%> I18N_HASH: JSON.stringify(languagesHash.hash), <%_ } _%> - VERSION: JSON.stringify(config.version), + APP_VERSION: JSON.stringify(config.version), SERVER_API_URL: JSON.stringify(config.serverApiUrl), }), new HtmlWebpackPlugin({