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

你好,请问下tailwindcss与naiveUI混用而不冲突的效果是如何实现的?非常感谢。 #13

Closed
zzinx58 opened this issue May 10, 2022 · 6 comments

Comments

@zzinx58
Copy link

zzinx58 commented May 10, 2022

你好,请问下tailwindcss与naiveUI混用而不冲突的效果是如何实现的?非常感谢。

@qingqingxuan
Copy link
Owner

qingqingxuan commented May 11, 2022

naive-ui官网已经给出了解决办法。参见:https://www.naiveui.com/zh-CN/os-theme/docs/style-position

@zzinx58
Copy link
Author

zzinx58 commented May 11, 2022

目前的解决办法就是把 tailwindcss 的版本降低一些

哦哦谢谢,另外请问我如果有些其他问题想请教有渠道吗?可以在这里提交issue吗?

@zzinx58
Copy link
Author

zzinx58 commented May 11, 2022

比如scss的应用范围,tailwindcss是出于什么地方的考虑使用的?组件样式里面还是用了很多的scss,tailwindcss只使用了很少一部分的感觉?

@qingqingxuan
Copy link
Owner

README.md 中有微信二维码,加好友邀请您进微信群,或者关注公众号 知码前端 也有联系方式。
tailwindcss和scss并不冲突。本项目中主要是使用tailwindcss封装好的一些样式,比较便捷

@qingqingxuan qingqingxuan reopened this May 11, 2022
@zzinx58
Copy link
Author

zzinx58 commented May 16, 2022

可以教一下vue3+TS的项目里面vue-router怎么配置吗?主要是加上了TS之后,有点难看明白,router/index.ts 文件里的mapTwoLevelRouter有点懵...
好像和shims-vue.d.ts里面的配置冲突了?。。
感谢

2022-05-16_10-49-37

2022-05-16_10-49-28

@qingqingxuan
Copy link
Owner

components 写错了

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