当我进行 ember build
时,我希望/dist 文件夹中的文件名与 index.html 不同。像 main.html 这样的东西会很棒。
最佳答案
在你的 Brocfile.js 中
var app = new EmberApp({
outputPaths: {
app: {
html: 'main.html'
}
}
});
关于ember.js - 如何在 ember-cli 中重命名 index.html 文件?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24744379/