Closed 840251442 closed 2 hours ago
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
Origin Title: [Feature] 项目的prefix 是怎么设置的 我找了很久都没找到 并且我使用webpack插件打包的过程不会自动去引入univer.css
Title: [Feature] How to set the prefix of the project? I have been looking for it for a long time but I can’t find it. Moreover, when I use the webpack plug-in to package, univer.css will not be automatically introduced.
How to set the prefix of the project? I searched for a long time but couldn't find it. Moreover, when I use the webpack plug-in to package, univer.css will not be automatically introduced.
请认真且详细地描述你的需求
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
Please describe your needs carefully and in detail
第一个问题 我看源代码 所有的class是没有univer 这个前缀,但是项目里实际在用的时候类上面都加了 univer (有点好奇这个prefix是通过某个方式加上的) 第二个问题 我使用了@univerjs/webpack-plugin 这个库 编译时没有问题 打包之后 样式会没打包上。需要我自己手动引入样式
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
The first question is that when I look at the source code, all classes do not have the prefix univer, but when actually used in the project, univer is added to the classes (I am a little curious whether this prefix is added in a certain way) The second question is that I used the @univerjs/webpack-plugin library and there was no problem during compilation. After packaging, the styles were not packaged. I need to manually introduce the style myself
question 请至 discussion 咨询,GitHub issue 仅用于汇报 bug 和提交功能请求,请勿滥用。
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
question please go to discussion for consultation. GitHub issues are only used to report bugs and submit feature requests. Please do not abuse it.
Initial checklist
Problem
项目的prefix 是怎么设置的 我找了很久都没找到 并且我使用webpack插件打包的过程不会自动去引入univer.css