Comments (15)
嗯,1.3.2 不需要 PostCSS 8,试一下删除 node_modules 重新安装还报不报错,升级到 PostCSS 8 的版本(2.1.0)修复了桌面端 fixed 定位不准确的问题。
from postcss-mobile-forever.
嗯,1.3.2 不需要 PostCSS 8,试一下删除 node_modules 重新安装还报不报错,升级到 PostCSS 8 的版本(2.1.0)修复了桌面端 fixed 定位不准确的问题。
试了很多次不太行,postcss版本我也切换了几次
from postcss-mobile-forever.
from postcss-mobile-forever.
from postcss-mobile-forever.
看起来好像没什么问题,试一下删除 package-lock 和 node_modules,然后安装下面这个看看行不行。
npm install --save-dev postcss postcss-mobile-forever
from postcss-mobile-forever.
还是不行吗
from postcss-mobile-forever.
1.3.2不存在
from postcss-mobile-forever.
from postcss-mobile-forever.
1.3.2不存在
@fdy696 对的,这个插件在 2.1.2
之前不叫 postcss-mobile-forever,是后来才改了名字。
您试一下安装最新的版本,最新版本是 3.3.2
。我现在打不开 npm 官网,不然可以截个这个 postcss-mobile-forever 最小版本号的图。
from postcss-mobile-forever.
相同问题 也是报错 请问作者解决办法有么
from postcss-mobile-forever.
@zhuweilong 你好,请问您是安装的 postcss-mobile-forever 吗,以前的 postcss-mobile-to-multi-displays 不在维护了,名字换成了 postcss-mobile-forever。
from postcss-mobile-forever.
@wswmsword 用的是最新的postcss-mobile-forever 你的demo vue 用的vite 你试试webpack node是10.19.0
from postcss-mobile-forever.
@zhuweilong 我写了个 Vue 的 webpack 例子,node 18.16.0 正常运行。我试了把 node 切到 10.19.0,有版本问题,你有在线的例子吗,我可以帮你调试看看,还是你就是要我这个例子的 node 10.19.0 的版本的?
from postcss-mobile-forever.
@wswmsword 你试试低版本的node10.19.0 因为相关关联的node-sass等 引入的依赖包都是以低版本node为标准的 vue2.6.11+vant2.12.47
from postcss-mobile-forever.
@sunkebkn8 我写了依赖低版本 PostCSS(大于 v6.0.0)的 postcss-mobile-forever,按下面的命令安装应该不会报错“必须要求 PostCSS 8”了:
npm install postcss-mobile-forever@legacy --save-dev
from postcss-mobile-forever.
Related Issues (20)
- angular 里面可以使用吗? HOT 1
- 如果我希望在980宽度以下,不再进行缩放,怎么配置呢? HOT 5
- 设置了maxDisplayWidth 之后,对于 width 设置为 100% 的元素,也会被重置为 min(100%, 500px),但是我希望忽略设置为 100% 的元素 HOT 14
- 有个nuxt3官网项目,准备同时适配PC和移动端,有插件相关demo参考下吗 HOT 2
- 配置include和exclude不生效 HOT 11
- bug: css 变量默认值不转换 HOT 1
- 可以增加一个最小宽度的限制么,目前我的需求是pc端适配,移动端不适配 HOT 1
- About Nuxt DevTools Width Display HOT 4
- 设置了之后移动端和pc端是不是都会限制最大宽度 HOT 13
- postcss-mobile-forever版本4.1.2在 Vue3 vite5 配置不生效 HOT 4
- 媒体查询中的 vw 转换 HOT 10
- Vant4项目使用之后popup的mask半透明黑色背景不会宽度100%了 HOT 2
- 在webcompent组件中不生效,已禁用shadow HOT 6
- 设置 include unocss 无法转换 HOT 9
- uni-app使用 HOT 3
- 如何让maxDisplayWidth只针对某个class或者某个页面,而不是一设置上来就是限制全局 HOT 13
- `border` 属性的实现,用 `box-shadow` 去模拟是否会更合适 HOT 2
- 设置桌面端最大宽度 HOT 2
- 能否支持在转换成vw时,让某些竖直方向的属性,比如height,使用vh HOT 5
- 当我设置了background-attachment: fixd, 背景图片显示效果不对,应该如何调整 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from postcss-mobile-forever.