morjs
morjs copied to clipboard
基于小程序 DSL(微信、支付宝)的,可扩展的多端研发框架,支持一键将微信或支付宝小程序转换为微信、支付宝、百度、字节、QQ、快手、淘宝、钉钉等小程序 或 Web 应用。
我想通过配置添加Uno CSS的功能,请问怎么实现?
**Describe the bug** 页面转换后,报 [mor] ✖ 绑定表达式: { class } 不符合 JS 表达式规范 无具体日志和说明 **To Reproduce** https://github.com/brainee/weixin-pages-morjs/tree/main **Expected behavior** A clear and concise description of what you expected to happen....
**Describe the bug** ctx = __MOR_API__.createCanvasContext(this.data.canvasId, this)ctx为undefined **To Reproduce** 代码地址:https://github.com/brainee/weixin-pages-morjs/tree/main 直接运行npm run dev **Expected behavior** echart能运行 **Screenshots** **Desktop (please complete the following information):** - OS: [e.g. iOS] - Browser [e.g....
**Describe the bug** A clear and concise description of what the bug is. $ pnpm run dev > [email protected] dev /Users/xxx/mini-program/mor-app > mor compile --watch [mor] ℹ 发现配置文件: mor.config.ts [mor]...
1. 接入 [TDesign](https://github.com/Tencent/tdesign-miniprogram) 之后 2. 添加组件库转端配置 ``` import { defineConfig } from '@morjs/cli' export default defineConfig([ // { // name: 'wechat-miniprogram', // sourceType: 'wechat', // target: 'wechat', // compileType: 'miniprogram',...
When I initialize the project according to the examples on the official website, I get an error when running dev. Steps to reproduce the behavior: 1. pnpm create mor 2....
错误代码:node_modules\@morjs\plugin-compiler-web\lib\plugins\emitIntermediateAssetsPlugin.js await utils_1.fsExtra.outputFile(path_1.default.join(intermediateAssetsDir, path_1.default.resolve('/', filePath)), source); 信息如何下: [mor] ℹ 准备配置中, 即将开始编译 👇 配置名称: web 编译目标: Web 应用 编译环境: development 编译类型: 小程序 编译模式: bundle 源码类型: wechat 源码目录: src 输出目录: dist\web [mor]...
es6转换问题
**Describe the bug** 源项目是 微信,再编译后转 es5 Set的解构有问题 以及 array的entries() 迭代器转换问题 **To Reproduce** Steps to reproduce the behavior: let a = [1,2,3] a = [...new Set(a)] console.log(a, 'a') // [] a为空数组...
1、processNodeModules设为true ``` import { defineConfig } from '@morjs/cli' export default defineConfig([ { name: 'web', sourceType: 'wechat', target: 'web', compileType: 'miniprogram', processNodeModules: true, compileMode: 'bundle', cache: false } ]) ``` 2、执行npm...