Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/javascript/397.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/meteor/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript 无法从meteor中的bower链接到文件_Javascript_Meteor_Zurb Foundation_Bower - Fatal编程技术网

Javascript 无法从meteor中的bower链接到文件

Javascript 无法从meteor中的bower链接到文件,javascript,meteor,zurb-foundation,bower,Javascript,Meteor,Zurb Foundation,Bower,我无法在我的meteor应用程序中链接到.meteor/local/bower中的文件。 我使用的是bower的基础应用程序,它的主要部分.bower.json中只有两个文件 "main": [ "dist/css/foundation-apps.css", "dist/js/foundation-apps.js" ] 我还需要在我的项目中包含/js/foundation-apps-templates.js 我可以编辑.bower.json,但它被忽略,在其他系统或生产环境中无

我无法在我的meteor应用程序中链接到.meteor/local/bower中的文件。 我使用的是bower的基础应用程序,它的主要部分.bower.json中只有两个文件

"main": [
    "dist/css/foundation-apps.css",
    "dist/js/foundation-apps.js"
]
我还需要在我的项目中包含/js/foundation-apps-templates.js

我可以编辑.bower.json,但它被忽略,在其他系统或生产环境中无法工作。 我尝试添加这些文件的cdn链接,但meteor在部署时缩小了所有内容,cdn版本保持不变,因此产生了冲突。 有没有办法将所有这些添加到我的应用程序中,并将其适当缩小以用于生产