bisheng-plugin-ice

0.4.0-0 • Public • Published

bisheng-plugin-ice

Codecov npm package NPM downloads

  • iframeTemplate required Demo 的 iframe 的模板 使用 <lodash.template> 语法

接收的数据:

const html = template(tmpl)({
  title: meta.title,
  id: meta.id,
  style: markdownData.style,
  script: babelTransform.code,
  map: babelTransform.map,
  ensure: ensure
});
  • ensure string 当前 demo 模板的组件依赖, e.g: '["react", "react-dom", "@ali/ice"]'

Readme

Keywords

Package Sidebar

Install

npm i bisheng-plugin-ice

Weekly Downloads

2

Version

0.4.0-0

License

MIT

Last publish

Collaborators

  • noyobo
  • zeroling