代码之家  ›  专栏  ›  技术社区  ›  AlvinfromDiaspar

React框架在引擎盖下是如何工作的?

  •  -1
  • AlvinfromDiaspar  · 技术社区  · 7 年前

    我猜App.js是从manifest.json引用的。

    1 回复  |  直到 7 年前
        1
  •  1
  •   Estus Flask    7 年前

    create-react-app 只是一个使用 react-scripts ,这是预配置的网页包设置。

    App.js 用于 index.js <script> 在索引HTML页面中。该项目仅包含 a template for HTML page <脚本> ,则会动态添加标记。实际的HTML页面是 generated from this template at build time with Webpack plugins

    可以通过检查来检查网页包设置 反应脚本 ejecting the project .