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

nuxt3 样式丢失问题 #49

Open
jarvis000000 opened this issue Sep 1, 2023 · 2 comments
Open

nuxt3 样式丢失问题 #49

jarvis000000 opened this issue Sep 1, 2023 · 2 comments

Comments

@jarvis000000
Copy link

jarvis000000 commented Sep 1, 2023

如图
image

遇到的问题:
nuxt3+unocss 的情况下样式丢失

所用版本:
"nuxt": "^3.6.5",
"vue3-puzzle-vcode": "1.0.16-nuxt"

@javaLuo
Copy link
Owner

javaLuo commented Sep 1, 2023

未能复现哦
下面这个是nuxt3项目里使用的例子
https://stackblitz.com/edit/github-wueqkb?file=app.vue,package.json

@jarvis000000
Copy link
Author

https://stackblitz.com/edit/github-wueqkb-hn4yt8?file=nuxt.config.ts,package.json
image
还有nuocss 共同导致的,另外公司的 unocss 有其他配置,所以可能导致全部错乱,但是这个例子看来不配置其他参数也会有冲突。
https://unocss.dev/integrations/nuxt
这个是 nuxt 引入 unocss 的文档 以供参考

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