We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
归档.zip
The text was updated successfully, but these errors were encountered:
#10 嗯,这个可能是 vite 配置的问题,元素的选择器被 vite 转成了 ._container_16a3w_1,插件生成的媒体查询的选择器还是原来的 .container,vite 没有把插件生成的媒体查询的选择器重命名成 ._container_16a3w_1,这个我再看看。
._container_16a3w_1
.container
着急出效果的话可以用下面的配置:
module.exports = { plugins: [ require("postcss-mobile-forever")({ landscapeWidth: 450, maxDisplayWidth: 600, disableLandscape: true, disableDesktop: true, rootSelector: ".root-class", }), ], };
这个配置不会生成媒体查询,一样限制最大宽度。
Sorry, something went wrong.
#10 嗯,这个可能是 vite 配置的问题,元素的选择器被 vite 转成了 ._container_16a3w_1,插件生成的媒体查询的选择器还是原来的 .container,vite 没有把插件生成的媒体查询的选择器重命名成 ._container_16a3w_1,这个我再看看。 着急出效果的话可以用下面的配置: module.exports = { plugins: [ require("postcss-mobile-forever")({ landscapeWidth: 450, maxDisplayWidth: 600, disableLandscape: true, disableDesktop: true, rootSelector: ".root-class", }), ], }; 这个配置不会生成媒体查询,一样限制最大宽度。
好的,谢谢了
vitejs/vite-plugin-vue#200
No branches or pull requests
归档.zip
The text was updated successfully, but these errors were encountered: