最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

vue.js - Is there any way to update unocss after build - Stack Overflow

programmeradmin0浏览0评论

We have an application using unocss, vite and vue with company wide presets in the general case. However now we want to be able to be able to adjust some CSS from within a helm chart.

As the image just contains the /dist after building it is not possible to define overrides that are added to the unocss rules. Is there any way to adjust through the helm chart after they have been build?

One idea i had was to build an overrides.css which gets mounted into the container and takes precedence over the standard one. However the only thing i can do there with reasonable complexity is to have some simple class -> styles pairings. But this then does not affect elements that have things like aria-[selected=true]:className if i dont also specify all of those cases in the override stylesheet.

So is there any way to way easily salvage this situation or is the only way to do some larger changes?

发布评论

评论列表(0)

  1. 暂无评论