π A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!
Vue awesomedashboarddockerhomelabhomepagemitnodejsorganizationproductivitypwaself-hostedstartpagevue
π· Config for Vue dev server, to use user-data
Alicia Sykesecacd145e029
diff --git a/vue.config.js b/vue.config.jsindex fd7b34ce..2e6007ef 100644--- a/vue.config.js+++ b/vue.config.js@@ -3,6 +3,8 @@* See docs for all config options: https://cli.vuejs.org/config*/+const path = require('path');+// Get app mode: production, development or testconst mode = process.env.NODE_ENV || 'production';@@ -28,6 +30,16 @@ const configureWebpack = {},};+// Development server config+const devServer = {+ contentBase: [+ path.join(__dirname, 'public'),+ path.join(__dirname, 'user-data'),+ ],+ watchContentBase: true,+ publicPath: '/',+};+// Application pagesconst pages = {dashy: {@@ -43,6 +55,7 @@ module.exports = {integrity,configureWebpack,pages,+ devServer,chainWebpack: config => {config.module.rules.delete('svg');},