简体   繁体   English

如何离线查看一个简单的 create-react-app 组件?

[英]How to view a simple create-react-app component offline?

Specifically, I have a very simple calculator component.具体来说,我有一个非常简单的计算器组件。 No databases involved, just simple computations done client-side.不涉及数据库,只是在客户端完成简单的计算。

I want to use this component on an old laptop that cannot connect to the internet.我想在无法连接到互联网的旧笔记本电脑上使用此组件。

What is the best way to go about this? go 关于这个的最佳方法是什么?

React doesnt require internet if database is not used.如果不使用数据库,React 不需要互联网。 Just build project, and send index.html to any device you want只需构建项目,然后将 index.html 发送到您想要的任何设备

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

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