Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including bisheng-plugin-ice with all npm packages installed. Try it out:

bisheng-plugin-ice lists no main file and has no index.js, so it can't be directly required. If this is a mistake, please let us know. It may however contain internal files that you can require manually:

require("react/package.json"); // react is a peer dependency. require("react-router/package.json"); // react-router is a peer dependency. require("jsonml-to-react-component/package.json"); // jsonml-to-react-component is a peer dependency. // require("bisheng-plugin-ice/[??]")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

bisheng-plugin-ice v0.3.12

To support ant.design-like websites.

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"]'
RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free