Comments (7)
请问你本地的 MPX 版本是否大于等于 2.7.5?这个版本之前的 MPX 有一个 bug 导致无法使用插件
from mini-program-tailwind.
之前确实不是,官方cli装的2.7.1,现在更新成2.7.37也是一样的错误
from mini-program-tailwind.
我这边也同样升级至相应的版本没有成功复现,请把你的 repo 上传我来看看
from mini-program-tailwind.
我这边也同样升级至相应的版本没有成功复现,请把你的 repo 上传我来看看
我是把这个项目的repo拉下来,然后直接在samples/mpx下install后运行的,我回头删了modules再重新install一下
from mini-program-tailwind.
我这边也同样升级至相应的版本没有成功复现,请把你的 repo 上传我来看看
我是把这个项目的repo拉下来,然后直接在samples/mpx下install后运行的,我回头删了modules再重新install一下
我也是这样做的...
from mini-program-tailwind.
你好,我也遇到了同样的问题,插件运行不起来
具体问题是:
在我自己的项目中使用您的webpack插件,并按照教程配置了,但是mpx打包输出的wx目录文件无法在微信开发者工具运行起来。
错误如下:
我本来以为是我的mpx项目配置影响,于是参考了集成案例,并修改了mpx相关依赖版本为 "@mpxjs/api-proxy": "^2.7.28", "@mpxjs/core": "^2.7.37",
,其他的代码均为变动。然后,我又使用了yarn工具下载了依赖,没有任何问题,项目npm run watch
命令也运行正常。但是最终输出的wx目录文件也无法正常运行,报错也基本相同,如下:
希望帮忙处理一下,谢谢~
集成案例改动后的demo repo链接
开发环境
版本 Windows 11 企业版
版本 21H2
安装日期 2022/6/9
操作系统版本 22000.795
体验 Windows 功能体验包 1000.22000.795.0
备注
上传案例的dist/wx目录是我测试后的输出目录,也可以直接在微信开发者工具尝试运行
from mini-program-tailwind.
@ackemaneva 感谢你提供的详细线索,鉴于你是 Windows 开发环境那我怀疑和 Windows 不支持文件名中包含 :
字符有关,详情请参考: #4
from mini-program-tailwind.
Related Issues (20)
- 使用vscode开发没有tailwindcss的代码提示 HOT 1
- windicss 不维护了, 可以支持tailwindcss吗? HOT 2
- 偶现类名失效,app.wxss里没有对应类名 HOT 5
- bg-[#1636fc] 和其他class一起用,其他样式失效 HOT 2
- H5打包部署受影响
- 无法编译支付宝小程序
- 开发时启动报错/(ㄒoㄒ)/~~ HOT 1
- 动态属性有时候会没有正确编译 HOT 1
- 在 Taro 下 H5 与小程序端样式大小不一 HOT 2
- Bug: Taro微信小程序,vue3下的transition组件编译失败,附解决方案,望修复
- 微信小程序在js设定px大小时 会出现不生效情况
- supports-[]语法失效
- 暗黑模式 darkmode 无效 HOT 1
- vscode中WindiCSS IntelliSense插件失效
- App平台 v3 模式暂不支持在 js 文件中引用"windi.css" 请改在 style 内引用 HOT 2
- [bug]uni-app vue3 vite下,运行过程中报错
- 最新的tailwind3.x如何配置?请求给个成功示例 HOT 1
- uniapp vue3 vite 运行时正常,发行之后部分windicss的样式失效 HOT 1
- hover-class中的 !类名 不生效 HOT 1
- 使用模板字符串换行后,生成的类名有误导致样式不正确 HOT 4
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 mini-program-tailwind.