Comments (5)
对于这些插件能否使用一个占位view来渲染?只需要知道这些插件组件能正常渲染即可。
from miniprogram-simulate.
插件暂时没办法支持,不过可以使用 usingComponents 手动替换掉。
from miniprogram-simulate.
@JuneAndGreen 如果是组件在内部嵌套结构里面,就没办法使用这个配置替换。
比如说:组件A引用组件B,组件B使用插件组件
在load组件A的时候传入usingComponents,不能替换掉组件B使用的插件。
上面说的情况是只有一层,真实情况会有多层
from miniprogram-simulate.
[email protected] 其实原本的 usingComponents 覆盖就支持覆盖掉子孙的 usingComponents 的,不过之前只支持传组件 id,现在完善了下,也支持传路径。
可参考 comp11.
from miniprogram-simulate.
好的 谢谢
from miniprogram-simulate.
Related Issues (20)
- About the license of components invoked by this Project. HOT 1
- 开启 virtualHost 之后,无法获取组件实例 HOT 2
- 开启 virtualHost 单测环境中渲染结果与官网描述不一致 HOT 2
- 使用comp.triggerLifeTime('ready')或者其他功能时,微信官方api(非wx.xxx)无法成功调用 HOT 3
- 是否支持 selectOwnerComponent HOT 4
- 能不能给一个搭配vitest的示例?
- How config miniprogram-simulate in Alipay mini program HOT 3
- Uncaught ReferenceError: CustomEvent is not defined HOT 1
- 小程序页面过多导致wxml编译缓存区过大 HOT 14
- wxs后缀的文件不支持吗 HOT 1
- 当自定义组件名称为return-app时候报错,换个名字就不报错了,求改进方式
- wx.getAccountInfoSync().miniProgram.envVersion报错问题 HOT 5
- getStorageSync 套了一层JSON.parse,传入如果存入字符串,获取就会报错 HOT 3
- TypeError: wx.nextTick is not a function HOT 1
- Cannot find module 'pretty-format/build/plugins/lib/markup' from 'node_modules/miniprogram-simulate/src/jest-snapshot-plugin.js' HOT 2
- pretty-format依赖应声明为dependencies
- view 的 animation 属性,会导致组件无法渲染,该怎么处理
- ReferenceError: getCurrentPages is not defined HOT 1
- spawnSync ENOENT HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from miniprogram-simulate.