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

样式丢失 #53

Closed
Hyliuz opened this issue Jun 20, 2020 · 4 comments
Closed

样式丢失 #53

Hyliuz opened this issue Jun 20, 2020 · 4 comments

Comments

@Hyliuz
Copy link

Hyliuz commented Jun 20, 2020

vue项目启动后发现,组件有效但是样式丢失,build后才能生效,请问这是为什么?

@hukaibaihu
Copy link
Owner

dev 引入 lessless-loader 试试

@serfend
Copy link

serfend commented Aug 4, 2020

同样复现此问题,所有UI无样式。在config.js中添加了less配置并安装 lessless-loader。问题仍未解决

@fate2
Copy link

fate2 commented Dec 31, 2020

同样复现此问题,所有UI无样式。在config.js中添加了less配置并安装 lessless-loader。问题仍未解决
我这样子写解决我的问题

<style scoped> @import '~vue2-org-tree/dist/style.css'; </style>

总体是这样子
image

@renmu123
Copy link

renmu123 commented Jan 11, 2021

我也遇到了这样的问题,在这个 issue #50 中也有这个问题

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

5 participants