miniprogram-to-uniapp icon indicating copy to clipboard operation
miniprogram-to-uniapp copied to clipboard

轻松将各种小程序转换为uni-app项目

Results 56 miniprogram-to-uniapp issues
Sort by recently updated
recently updated
newest added

Bumps [tmpl](https://github.com/daaku/nodejs-tmpl) from 1.0.4 to 1.0.5. Commits See full diff in compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=tmpl&package-manager=npm_and_yarn&previous-version=1.0.4&new-version=1.0.5)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...

dependencies

### 问题描述? ![image](https://user-images.githubusercontent.com/42430384/130042555-1adfef70-91fc-4e18-ae58-81373b33b53e.png) ### 重现步骤 ### 期望的结果

### 问题描述? 转换过程中,出现以下错误,完全无法知道是哪里导致的 ``` (node:14484) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'buildError' of undefined at Scope.checkBlockScopedCollisions (C:\Users\Administrator\AppData\Roaming\npm\node_modules\miniprogram-to-uniapp\node_modules\@babel\traverse\lib\scope\index.js:421:22) at Scope.registerBinding (C:\Users\Administrator\AppData\Roaming\npm\node_modules\miniprogram-to-uniapp\node_modules\@babel\traverse\lib\scope\index.js:581:16) at Scope.registerDeclaration (C:\Users\Administrator\AppData\Roaming\npm\node_modules\miniprogram-to-uniapp\node_modules\@babel\traverse\lib\scope\index.js:523:14) at Object.Declaration (C:\Users\Administrator\AppData\Roaming\npm\node_modules\miniprogram-to-uniapp\node_modules\@babel\traverse\lib\scope\index.js:177:12) at NodePath._call (C:\Users\Administrator\AppData\Roaming\npm\node_modules\miniprogram-to-uniapp\node_modules\@babel\traverse\lib\path\context.js:53:20) at NodePath.call...

### 问题描述? 大神,转过来的_uni项目的wx.request接口一直报错,怎么转换啊? ### 重现步骤 ### 期望的结果

data-ref应该转化成ref才对, uniapp 通过this.$refs. 这种方式调用组件的

### 问题描述? url()处理超出范围 ### 重现步骤 wxml: ```vue 测试url() ``` 转vue ```vue 测试url() ``` ### 期望的结果 ```vue 测试url() ``` ### 问题追查: url()里的单引号被替换掉了: 见相关源码行: ` .replace(/url\(['"]([^'"].*?)['"]\)/g, "url($1)") ` 相关源码: ```js /** *...

### 问题描述? ```js //transformFor方法中,此行代码将单引号替换为双引号,导致程序转换出来的不正确 vForAttr = vForAttr.replace(/'/g, `"`) ``` ### 重现步骤 待转换代码: ```html {{item.store_name}} ``` 转换后的代码 ```vue {{item.store_name}} ``` 主要错误代码如下(coupon的索引值为双引号) ```js v-for="(item,index) in (coupon[" store_list"])" ``` ### 期望的结果 ```vue {{item.store_name}}...

### 问题描述? src/page/template/template-transformer.js transformEvent处理bind:与capture-bind:及catch:与capture-catch:存在冲突,匹配短的先执行,会导致capture-被替换成错误标签 ### 重现步骤 function transformEvent(keyNode, valueNode, state) { // name, value, attribs,state var name = keyNode.content let event = name if (name.indexOf('bind') === 0) { event =...