mybricks-plugin-connect-comlib-app
v0.0.43
Published
``` npm install mybricks-plugin-connect-comlib-app ```
Downloads
17
Readme
mybricks-plugin-connect-comlib-app
npm install mybricks-plugin-connect-comlib-app
Webpack
const MybricksPluginConnectComlibApp = require("mybricks-plugin-connect-comlib-app");
...
//单组件库
plugins: [
new MybricksPluginConnectComlibApp({
mybricksJsonPath: 'xx/mybricks.json'
})
]
//多组件库
plugins: [
new MybricksPluginConnectComlibApp([
{
mybricksJsonPath: 'xx/mybricks.json'
},
{
mybricksJsonPath: 'xx/mybricks2.json'
}
])
]
Mybricks Designer
组件库挂在 window['_comlibs_edit'] 下