Question: Changing style of the app #184
-
We are trying to update the styling of Gokapi to fit our company style-guide. For local development, we use a services:
gokapi:
build: .
environment:
- DOCKER_NONROOT="false"
ports:
- "53842:53842"
develop:
watch:
- action: rebuild
path: ./web/static/
target: /app/static/
- action: rebuild
path: ./web/templates/
target: /app/templates/
volumes:
- ./development/config:/app/config
- ./development/data:/app/data
user: "1000:1000" To run this, we do
Here is the
If we make changes to the images, or the html templates, then the change is visible in the app. But if we make changes to the css The reason it does not work, is probably because the css is "minified" here: https://github.com/Forceu/Gokapi/blob/master/cmd/gokapi/Main.go#L37-L42 How can we best implement the changes to the style of the app? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
You need to run |
Beta Was this translation helpful? Give feedback.
You could also simply rename your css to .min.css, it doesn't have to be minified, as long as the file exists.