wangzhengbo

Results 48 comments of wangzhengbo

类似这样,写个mixin: import Vue from 'vue' import routerPatchMp from '../routerPatchMp' export default { async onReady() { if (this.$options.mpType === 'page') { if (this.$route.path !== '/pages/splash' && this.$route.path !== '/pages/login/index') { //...

> npm run dev:wechat > > > [email protected] dev:wechat C:\Users\kaibo\Desktop\megalo-demo > > megalo-cli-service serve > > INFO 当前编译平台:wechat > INFO 环境变量NODE_ENV:development > using @megalo/[email protected] > using [email protected] > (node:13832) UnhandledPromiseRejectionWarning:...

import fs from 'fs' import path from 'path' import packageInfo from '../package.json' const destFile = path.resolve( __dirname, '../node_modules/@megalo/regular-template-compiler/node_modules/vue-template-compiler/package.json' ) let content = fs.readFileSync(destFile, 'utf8') const fromVersion = '2.5.17' let destVersion...

构建时生成到dist_wechat目录下的wxss和wxml没做压缩,在预览时提示包超过大小。上传时是会做一次压缩,能在构建时压缩一次最好了,避免包大小问题

&>是什么语法?

滴滴的Chameleon 中有实现过类似功能,见https://cml.js.org/doc/view/component.html?h=%E5%8A%A8%E6%80%81%E7%BB%84%E4%BB%B6

请问动态组件的支持有排期吗?大概什么时候能实现?最近megalo更新不是很频繁。uni-app, taro等更新很积极

也想知道Echarts目前能不能实现这个功能

> > > @wangzhengbo 您好,能补充一下使用示例吗? > > > > > > 好 > > 请问下您描述的是这个问题吗? [Feature Request 版本能否内置一个连线优化的功能 #1230](https://github.com/didi/LogicFlow/issues/1230) 还有些不一样。