Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

能否全局配置 样式 #1165

Closed
TryChai opened this issue Feb 29, 2024 · 2 comments
Closed

能否全局配置 样式 #1165

TryChai opened this issue Feb 29, 2024 · 2 comments

Comments

@TryChai
Copy link

TryChai commented Feb 29, 2024

What problem does this feature solve?

希望能全局配置 样式 就不用在每个页面都配一遍,能否支持个配置的方法,在main.js 入口配置 覆盖默认的样式 这样就不用每个页面都配一遍 后续升级的时候直接改 不用改全部页面

What does the proposed API look like?

有个方法能先覆盖默认的样式

@fangsmile
Copy link
Contributor

https://visactor.io/vtable/demo/theme/register 注册主题可以

@TryChai
Copy link
Author

TryChai commented Feb 29, 2024

注册主题会不会 丢失原来的样式 ,比如我只想改部分的 其他的地方我并不想改 如果注册主题是不是要全部都写一遍 这样的话就不太实用

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants