代码拉取完成,页面将自动刷新
This tutorial will use create-react-app
as the example and assume you have started a remote sesion. Other apps are similar.
Inside GitHub VSC terminal:
yarn create react-app my-app
cd my-app
yarn start
When you see something like:
Compiled successfully!
You can now view my-app in the browser.
Local: http://localhost:3000
On Your Network: http://10.1.0.4:3000
Note that the development build is not optimized.
To create a production build, use yarn build.
Then open the control panel in GitHub VSC, click "Enable" under port forwarding section, and change the port number to 3000:
And you are all set. Click the link to see the result:
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。