我非常有兴趣开始学习 Angular 2.0 和 TypeScript。我遇到了一个漂亮的 Material Design 库 Material-UI并注意到它在 DefinitelyTyped 处有一个 TypeScript 定义(定义 repo )。
如何将这个库和定义文件与 Angular 2.0 的语法一起使用? 我似乎无法在任何地方找到关于这两者的指南或博客文章。
谢谢!
最佳答案
How would one use this Library and definition file alongside Angular 2.0's Syntax? I cannot seem to find a guide or blog post about these two together anywhere.
Angular 2.0 还没有准备好。但是如果你想在 Angular 1.0 中使用它,你可以使用这个库:https://github.com/davidchang/ngReact包装 react 组件并从 Angular 使用它们。
关于angular - 在 Angular 2.0 中使用 React 的 Material-UI 库,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33139025/