【问题标题】:Is it possible to build a react app from within codesandbox itself?是否可以从代码沙箱本身构建一个反应应用程序?
【发布时间】:2020-07-08 19:02:11
【问题描述】:

是否可以通过在代码框本身上运行npm run build 来创建使用代码框模板创建的 React 应用的构建?

简而言之,是否可以在代码沙盒上运行 npm 脚本

如果是,怎么做?

【问题讨论】:

标签: reactjs build create-react-app codesandbox


【解决方案1】:

是的,您需要使用像 Node 这样的容器沙箱来公开终端。在我们的文档中有更多关于容器和客户端沙箱之间区别的信息:https://codesandbox.io/docs/environment

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-11-04
    • 1970-01-01
    • 2014-01-12
    • 2011-10-21
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多