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

uni-app使用 #34

Open
xiaohebin opened this issue Apr 28, 2024 · 3 comments
Open

uni-app使用 #34

xiaohebin opened this issue Apr 28, 2024 · 3 comments

Comments

@xiaohebin
Copy link

企业微信截图_17142849681058
你好 我在uni-app中使用 报错了 这个怎么改

@wswmsword
Copy link
Owner

您有安装插件吗?

npm install --save-dev postcss-mobile-forever

@xiaohebin
Copy link
Author

就是按照你的写法,报错了...
image
我再想uni-app内置了postcss-px-to-viewport 这个插件 我是不是可以不require这个插件???

@wswmsword
Copy link
Owner

你这个报错是因为你卸载了 postcss-px-to-viewport 吗?应该不用安装吧,我看 uniapp 开箱是直接用 rpx 作为单位的,会自动转换。

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