[英]simplest way to create reactjs app in visual studio
I've been trying to create a ReactJS app in visual studio and I have found that the simplest way to create a Reactjs App is using dotnet new react -o SampleApp but it comes with to much code, components, etc.. is there any way that I just can create a Hello World app? 我一直试图在Visual Studio中创建ReactJS应用程序,但我发现创建Reactjs应用程序的最简单方法是使用dotnet new react -o SampleApp,但它附带了许多代码,组件等。我可以创建Hello World应用程序的方式? or a blank Reactjs app? 还是空白的Reactjs应用?
Facebook has provided an awesome tool for that called create-react-app . Facebook为此提供了一个很棒的工具,称为create-react-app 。
Add plugins in VS Code for better formatting. 在VS Code中添加插件以获得更好的格式。
You can always create an empty project in Visual Studio and then add the ReactJS Nuget Package. 您总是可以在Visual Studio中创建一个空项目,然后添加ReactJS Nuget包。
See this for more details: https://reactjs.net/getting-started/tutorial.html 请参阅此以获取更多详细信息: https : //reactjs.net/getting-started/tutorial.html
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.