简体   繁体   English

使用material-ui并在沙盒中做出反应,例如CodePen

[英]Use material-ui and react in sandbox such as CodePen

I would like to sandbox material-ui components for testing/experimentation, I see that it only comes as an npm package. 我想沙盒material-ui组件进行测试/实验,我发现它只是作为一个npm包。

Codepen makes it easy to use Babel, but the imports statement does not seem to work. Codepen可以很容易地使用Babel,但是imports语句似乎不起作用。 On a Pro account you are given file assets, but these are only accessable via http:// references. 在Pro帐户中,您将获得文件资产,但这些资源只能通过http:// references访问。

There is Create a tool to build a standalone version of Material-UI but thats all I can find in this direction. 创建一个工具来构建Material-UI的独立版本,但我可以在这个方向找到所有这些。

I am interested in ideas and approaches, even difficult ones, that would accomplish the goal of getting material-ui in a web-based sandbox. 我对能够实现在基于Web的沙箱中获取材料的目标的想法和方法感兴趣,甚至是困难的。

Work in progress: https://github.com/callemall/material-ui/pull/4342 正在进行的工作: https//github.com/callemall/material-ui/pull/4342

(SO says I must write more.) (所以说我必须写更多。)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM