-
postcss-px-to-viewport 限制了最大宽度750px,但是px转测vw后超过最大限制还是会随着屏幕的变大而变大,有没有一个参数是vm参考的最大值,
-
我前段时间使用vite + vue3 + vant4 + postcss-px-to-viewport 根据example-with-postcss-px-to-viewport-vue中的配置,是生效的。这个有一个老的vue2项目,我根据example都试了一编,都没生效,不知道怎么回事
-
### Describe the bug
![image](https://github.com/user-attachments/assets/462dc620-4574-42fd-a9f2-82ba842cb540)
postcss版本:8.4.39
安装postcss-px-conversion后运行,报错”xxxAtRule is not a constructor“
### Re…
-
when i use postcss-px-to-viewport@1.1.1 in postcss@8.4 and changed landscape to true
it goes wrong with postcss.atRule is not a constructor
hope to fix this
-
config:
![image](https://user-images.githubusercontent.com/23115938/68526473-4aa9e200-0317-11ea-9367-1111bed78033.png)
code:
![image](https://user-images.githubusercontent.com/23115938/68526478-530…
-
代码都是一样的,装的postcss版本也是一样,windows系统下进行了转换,而mac ,linux下不会。版本v1.1.1。
环境:vue-cli4的scss项目。配置于postcss.config.js
exclude option is used at macOs and linux but windows.
/* px-to-viewport-ignore-next */ …
-
为何项目没有 `.postcssrc.js` 文件
```js
module.exports = {
"plugins": {
"postcss-import": {},
"postcss-url": {},
"postcss-aspect-ratio-mini": {},
"postcss-write-svg": {
…
-
-
见标题,降级到@1.2.3版本后正常
-