config.ymlSymfony和作曲家部件夾
jquery:
inputs:
- %kernel.root_dir%/../vendor/components/jquery/jquery.min.js
composer.json
"require": {
"components/jqueryui" : "dev-master",
"components/jquery": "dev-master"
},
//...
Jquery的位於供應商\作曲家但symfony的不reconzie此路徑:
[消息]源文件 「F:\ UniServerZ \ www \ app /../ vendor/jquery/jquery/jquery.min.js」不存在 。
我怎樣才能鏈接到部件/文件夾?....
我建議你將jQuery放在框架的供應商之外。你爲什麼需要它?這是一個.js文件,它不是命名空間,而應該通過'cdn'導入。 – Nevertheless 2015-02-23 19:31:31
我想要一個總是實際的JQuery。 – user3468055 2015-02-23 19:43:15
你確定你的config.yml和張貼在這裏一樣嗎? – 2015-02-23 19:45:41