Skip to content

armgit / dashy

Public Imported from GitHub
0

πŸš€ A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!

:construction_worker: Passes app version number to Vue build

Alicia Sykes1578b18a2210
diff --git a/vue.config.js b/vue.config.js
index 674ac871..e32bc3cf 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -1,3 +1,6 @@
+// Get current version
+process.env.VUE_APP_VERSION = require('./package.json').version;
+
module.exports = {
publicPath: process.env.BASE_URL, // || './',
chainWebpack: config => {