使用ember cli时,我尝试这样做,但文件没有复制到dist:
app.import('bower_components/bootstrap/dist/fonts/glyphicons-halflings-regular.eot', {
destDir: 'fonts'
});
因此,在运行ember服务器时,我得到:
version: 0.1.15
Could not find watchman, falling back to NodeWatcher for file system events
Build failed.
Path or pattern "glyphicons-halflings-regular.eot" did not match any files
Error: Path or pattern "glyphicons-halflings-regular.eot" did not match any files
我做错了什么?
答案 0 :(得分:0)
请仔细检查一下你的bower_components文件夹下是否存在glyphicons-halflings-regular.eot。
如果没有帮助更新你的ember-cli和bootstrap到最新版本可能有帮助
npm update ember-cli
bower update bootstrap