-
**问题描述**
编译Taro为支付宝小程序代码时,注释css中import语句无效,仍然被编译出来
注释具体样式没有该问题
**复现步骤**
以下
```css
/* @import "/components/wxParse/wxParse.acss"; */
```
编译为
```css
@import "/components/wxParse/wxParse.ac…
-
**问题描述**
微信小程序写法如下:
`const Moment = require('moment.js')
var WxParse = require('components/wxParse/wxParse.js')`
(moment.js和wxParse.js都是用户自定义组件,微信编译器可以识别出来)
微信小程序转换为taro代码时require里面的路径被当成npm包安装,导…
Qiyu8 updated
4 years ago
-
显示的是硬编码进去的示例内容
https://github.com/csonchen/wxParse/blob/master/pages/index/index.js#L40
按这个写法引用的
``
-
### 问题描述
升级到2.0之后,在组件内使用诸如这样的引用
``
打包后运行会提示该src找不到,看编译后的结果确实没有打包进去
### 复现步骤
复现步骤如上
### 期望行为
期望该类引用能够正确打包
### 报错信息
字节小程序内和百度小程序内均报资源未找到
### 系统信息
Taro CLI 2.0.5 environmen…
-
富文本内容含多张图片时,只显示出第一张图片,其他的都是显示Loading状态!
代码片段:https://developers.weixin.qq.com/s/VWopxGmL73i8
![image](https://user-images.githubusercontent.com/64966179/86870353-d6744800-c10a-11ea-84e5-6f6db91b…
-
`const bindData = (() => {
let instance = null
return function(bindName, data) {
if (!instance) {
instance = {
[bindName]: data
}
}else if(data){
instanc…
-
![1VX2V_JJE4KSEHN) CDK({7](https://user-images.githubusercontent.com/33369710/84997749-8b0cf080-b181-11ea-9a76-5c2ee50d67bc.png)
排版乱了,css功底不好,也没能解决
-
**问题描述**
所有的循环列表中,小程序控制台都报这个警告,之前没有。
```
WXMLRT_$gwx:./pages/index/index.wxml:view:24:14: wx:key="$original.id" does not look like a valid key name (did you mean wx:key="id" ?)
```
实现代码:
`…
-
微信小程序组件wxparse,taro convert转义之后界面渲染空白
源码:
```
```
taro convert 转义之后:
```
import { Block, View, Video, Image, Text, Button } from '@tarojs/components'
import Taro fro…
-
解析HTML和markdown