首页 > 解决方案 > 如何使用 VS Code 为 Windows 做出本机反应?

问题描述

我一直在 VS Code 中工作,并决定尝试适用于 Windows 的 React Native。我按照这里的说明进行操作。但是在我运行命令后,npx react-native run-windows出现以下错误:

error Unable to find vswhere

我在网上搜索,目前发现 React Native for Windows 应该是使用 Visual Studio 开发的。有没有办法在不下载完整的 Visual Studio 的情况下使用 VS Code 进行开发?

标签: visual-studio-codereact-native-windows

解决方案


请改为在https://github.com/microsoft/react-native-windows上发帖。如果您安装 rnw 依赖项,这应该是可能的。


推荐阅读