From: Bastien Wirtz Date: Sun, 31 May 2020 06:16:55 +0000 (-0700) Subject: Fix logo always shown issue. X-Git-Tag: 120405250^2 X-Git-Url: https://git.immae.eu/?p=github%2Fbastienwirtz%2Fhomer.git;a=commitdiff_plain;h=9052ec59b75a37b4518ad39c493ee6c2d4198b98 Fix logo always shown issue. --- diff --git a/README.md b/README.md index 28a2046..8151c4d 100644 --- a/README.md +++ b/README.md @@ -47,6 +47,8 @@ npm run build ``` Then your dashboard is ready to use in the `/dist` directory. +The `dist` directory is meant to be served by an HTTP server, so **it will not work if you open dist/index.html directly over file:// protocol**. + Use it like any static HTML content (use a webserver or open the html index directly). ## Developement diff --git a/public/config.yml.dist b/public/config.yml.dist index d2f1fdf..6be66e1 100644 --- a/public/config.yml.dist +++ b/public/config.yml.dist @@ -5,7 +5,7 @@ title: "Demo dashboard" subtitle: "Homer" logo: "logo.png" -# icon: "fas fa-skull-crossbones" Optional icon +# icon: "fas fa-skull-crossbones" # Optional icon header: true footer: '

Created with ❤️ with bulma, vuejs & font awesome // Fork me on

' # set false if you want to hide it. diff --git a/src/assets/defaults.yml b/src/assets/defaults.yml index bf3a367..a699d28 100644 --- a/src/assets/defaults.yml +++ b/src/assets/defaults.yml @@ -3,7 +3,6 @@ title: "Dashboard" subtitle: "Homer" -logo: "logo.png" header: true footer: '

Created with ❤️ with bulma, vuejs & font awesome // Fork me on

' # set false if you want to hide it.