gpt4 book ai didi

javascript - 如何配置 Brunch.io 将 index.js 文件从 app/复制到 public/

转载 作者:行者123 更新时间:2023-11-30 12:38:24 25 4
gpt4 key购买 nike

Brunch 目前正在构建我的应用程序并结合应用程序和/app/assets 文件夹中的 css/js,但它不会从应用程序文件夹的根目录复制 index.js 文件。这是在 public 文件夹中应该成为 index.html 的索引文件。

我不知道如何配置 Brunch 来执行此操作。有什么想法吗?

当前配置:http://jsbin.com/lakapaxalamo/1

文件夹结构: enter image description here

最佳答案

你的 index.html 应该在 app/assets

关于javascript - 如何配置 Brunch.io 将 index.js 文件从 app/复制到 public/,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25341702/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com