0👍
Ok, I fixed it. It seems I’ve run into this issue. I managed to reproduce it by building a production build using npm run build. To serve the dist package I installed serve and checked on localhost:5000:
sudo npm install -g serve
serve -s dist
This way I could experiment with different CSS styles without using Gitlab CI. The problem was with the CSS order, I had to import my custom CSS file in the component not in main.js and had to use !important in styles.
Source:stackexchange.com