简体   繁体   English

如何使用 VS Code 为 Windows 进行本机反应?

[英]How to work on react native for windows using VS Code?

I'm always working in VS Code and decided to try out React Native for Windows.我一直在使用 VS Code,并决定尝试使用 React Native for Windows。 I followed instructions here .我按照这里的说明进行操作。 But after I ran command npx react-native run-windows I got following error:但是在我运行命令npx react-native run-windows我收到以下错误:

error Unable to find vswhere

I searched online and so far found that React Native for Windows should be developed using Visual Studio.网上查了一下,目前发现 React Native for Windows 应该是用 Visual Studio 开发的。 Is there a way to develop using VS Code without downloading full Visual Studio?有没有办法在不下载完整的 Visual Studio 的情况下使用 VS Code 进行开发?

please kindly post on https://github.com/microsoft/react-native-windows instead.请改为在https://github.com/microsoft/react-native-windows 上发帖。 This should be possible if you install the rnw dependencies.如果您安装 rnw 依赖项,这应该是可能的。

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

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