简体   繁体   English

与ASP.NET Core 2互动

[英]React with ASP.NET Core 2

Is there a way to setup webpack in reactredux SPA template provided by Microsoft for dotnet core 2 to write react with js/jsx instead of typescript. 有没有一种方法可以在Microsoft提供的reactredux SPA模板中设置webpack,以供dotnet core 2使用js / jsx而不是打字稿来编写react。 I would like to avoid using typescript if possible :) any help is appreciated. 我想避免使用打字稿,如果可能的话:)任何帮助表示赞赏。

I am not familiar if this was implemented in vs2017 updates because i have used vscode for react-redux apps. 我不知道这是否在vs2017更新中实现,因为我已经将vscode用于react-redux应用程序。 But with VS2019 (release date 02.04.2019) react and react-redux templates for SPA are using javascript. 但是在VS2019 (发布日期02.04.2019)中,react和SPA的react-redux模板正在使用javascript。 That's all i wanted, so i will close this question. 这就是我想要的,所以我将结束这个问题。

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

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