如何在React& amp;的Visual Studio IDE模板中配置AG-Grid终极版 [英] How to configure AG-Grid in Visual Studio IDE template of React & Redux
问题描述
你能不能帮助我配置AG- Visual Studio 2017中的Gird React& amp;终极版。 模板由.tsx文件组成。
但是ng-grid官方网站的示例代码是jsx文件。 无法使用React& A中官方网站上提供的源代码。由Visual Studio 2017 IDE使用.net core 2.0框架创建的Redux模板。
嗨rapolurohit ,
>>该模板由.tsx文件组成。 但是ng-grid官方网站的示例代码是jsx文件。
如你所知,VS模板的反应& Redux由.tsx文件组成,ng-grid由jsx文件组成。我们无法直接在.tsx文件中使用jsx。没有工具可以直接将JSX转换为tsx,我建议您通过以下链接手动将jsx文件转换为tsx
。
#JSX
http://www.typescriptlang.org/docs/handbook/ jsx.html
由于AG-Grid来自第三方,我建议您通过以下链接联系AG-Grid支持。
https://www.ag-grid.com/support.php < span lang ="EN">
最诚挚的问候,
Joyce
Could you anybody help me to configure AG-Gird in Visual Studio 2017 Template of React & Redux. The template consists of .tsx files.
But the sample code from the ng-grid official website was in jsx files. Unable to use the source code given in official site in the React & Redux template created by the visual studio 2017 IDE using .net core 2.0 framework.
Hi rapolurohit,
>>The template consists of .tsx files. But the sample code from the ng-grid official website was in jsx files.
As you know, VS Template of React & Redux consists of .tsx files, and ng-grid consists of jsx file. We could not use jsx directly in .tsx files. There is no tool to convert JSX to tsx directly, and I suggest you convert jsx file to tsx manually by following below link.
#JSX
http://www.typescriptlang.org/docs/handbook/jsx.html
Since AG-Grid is from third party, I suggest you contact AG-Grid support from below link.
https://www.ag-grid.com/support.php
Best Regards,
Joyce
这篇关于如何在React& amp;的Visual Studio IDE模板中配置AG-Grid终极版的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!