remax icon indicating copy to clipboard operation
remax copied to clipboard

使用真正的 React 构建跨平台小程序

Results 130 remax issues
Sort by recently updated
recently updated
newest added

怎么通过env 区分环境,比如wechat还是web?

question

Bumps [postcss](https://github.com/postcss/postcss) from 7.0.35 to 8.4.16. Release notes Sourced from postcss's releases. 8.4.16 Fixed Root AST migration. 8.4.15 Fixed AST normalization after using custom parser with old PostCSS AST. 8.4.14...

dependencies

**问题描述** [详细地描述问题,让大家都能理解] remax ts 引入vant/weapp 组件报错:JSX element type 'Button' does not have any construct or call signatures. **示例代码** [如果有必要,展示代码,线上示例,或仓库] **其他信息** [如截图等其他信息可以贴在这里] 版本信息如下

question

**bug 描述** `src/app.config.ts`额外引入node_modules ESM模块时,出现`Unexpected token 'export'`的问题。是否是因为`@babel/register`默认将node_modules忽略了? 比如: ```ts import { AppConfig } from "remax/ali"; import { extraConfig} from "my_node_modules"; const config: AppConfig = { ...extraConfig, pages: ['pages/index/index'], window: { navigationBarTitleText:...

bug

**问题描述** 请问 市面上的小程序原生组件库,都可以使用吗, 引入的时候需要注意什么

question

**bug 描述** ScrollView组件slot无效 **期望结果** 如下截图所示 **复现代码** [可复现问题的代码仓库](https://github.com/ramen-curator/my-remax-issues-demos/tree/21.12.14-scrollViewSlot%E4%B8%8D%E6%98%BE%E7%A4%BA) **关键代码** ```html placeholder refresher body ``` **版本信息:** - remax 版本: 2.9.1 - 开发环境 win10,微信开发者工具 **其他信息** ## 微信原生可以 ![image](https://user-images.githubusercontent.com/26692240/145970355-dbc96be0-153f-4106-8215-78290d742935.png) ![image](https://user-images.githubusercontent.com/26692240/145970386-79af5584-9c9e-4cf8-9505-5a1c0c98eb67.png) ## remax不可以 ![image](https://user-images.githubusercontent.com/26692240/145968823-67ee067c-ccc2-462f-9385-430e205226a6.png) ![image](https://user-images.githubusercontent.com/26692240/145968777-9878e438-9c3c-4df7-bac3-b0208d4e7921.png)

bug

使用npx create-remax-app my-app-ts -t拉下代码后,使用vscodeda打开,在app.config.ts文件第7行报错 ![image](https://user-images.githubusercontent.com/28132315/179386971-070e06de-f295-443e-ac04-0300b0145b7d.png) 还有在tsconfig.json文件报错 ![image](https://user-images.githubusercontent.com/28132315/179386987-00295adf-f5ba-4655-ba26-f9aaf5dce5d2.png)

question

remax中如何调用微信小程序原生中的onAddToFavorites函数

question

**问题描述** 微信小程序地图组件显示不全,地图上的文字不显示: ![image](https://user-images.githubusercontent.com/47764548/179879541-3bbce132-2679-44d6-8c17-66bb6e509156.png) 原生微信小程序地图展示: ![image](https://user-images.githubusercontent.com/47764548/179879643-043a1a2b-102e-44d8-9809-8902537f01ae.png) 代码如下: ![image](https://user-images.githubusercontent.com/47764548/179879923-3b3338b9-523b-4ee2-8843-250e5af2b12c.png)

question