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

一个组件引用另一个组件的样式,转换后导致样式文件找不到的问题 #175

Open
maYunLaoXi opened this issue Jul 30, 2024 · 0 comments

Comments

@maYunLaoXi
Copy link

问题描述?

组件A,在a.scss文件中引入组件B的b.scss
@import '../b/b.scss';

转换后b组件的b.scss没了,变成了b.vue(样式在<style>中)。但是a.vue的<style>还存在@import '../b/b.scss';

重现步骤

显而易见

期望的结果

vue可以将样式独立成文件,避免这种情况

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

1 participant