Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
How advanced are we talking about? Just color changes or full layout changes?
For color changes just use CSS variables. -
zotigapo7616yYou can do use any css frameworks.
Vue is independent of any theming.
Currently I got two projects on vue
With Bulma and Semantic UI. -
zotigapo7616y@ScriptCoded my bad.
https://cli.vuejs.org/guide/...
Do the themeing changes in App (main template)
Havent done any theme switching on vue so far. -
@zotigapo Yeah, but that won't really solve it. I'll br using SCSS, but there's no way I can rebuild it at runtime.
-
@ScriptCoded any still supported browser has support for it. Internet explorer has an easy fallback.
If you are specifically targeting IE please say so. -
@Codex404 Primarily Firefox and Chrome, but in a few months we must be 100% IE capable. Though after a little Googling there seems to be some polyfills.
-
Does the theming also have to work on IE? Well sir than I wish you tons of luck with that nightmare. Leave while you still can.
-
zotigapo7616y@ScriptCoded i think
Create 2 separate theme files.
Then create a theme custom plugin.
And load the plugin and control the plugin from anywhere. -
@zotigapo Yeah, or just using the store. But the problem is that compiling two separate files most likely would require some custom SCSS compile pipeline that I'm not entirely sure how to build.
Related Rants
Best way to do theming with Vue?
question
theming
vue
scss