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

建议把组件的样式提取出来单独一份样式文件 #52

Open
Thinkpad93 opened this issue Dec 1, 2020 · 2 comments
Open

建议把组件的样式提取出来单独一份样式文件 #52

Thinkpad93 opened this issue Dec 1, 2020 · 2 comments

Comments

@Thinkpad93
Copy link

No description provided.

@yieryi
Copy link

yieryi commented Jul 29, 2021

同感,样式、布局和数据各部分独立更好用。请教大佬,关于这个代码库有没有下一步的技术规划

@canyuegongzi
Copy link

开发时可以单独编写css文件,构建打包时再把css 以字符串形式插到组件中,如果说是要按照 element 等UI库类似的形式,开发者需要手动引入 css 文件,那可能会有样式不生效问题(webComponent 是沙箱环境)。

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

3 participants