Answer the question
In order to leave comments, you need to log in
What is the error when creating an asset bundle on Yii2 advaced?
Hello. At once I speak created a topic , but he died.
Again faced the same problem. Let me remind you the essence:
in the vendor / bower, I filled in the Foundation for the UI, but they don’t connect to the scripts of this foundation, I can’t find it, I searched through all the docks, I didn’t find a solution.
It's not basic, it's an advanced template, actually in basic everything works "with a bang"
frontend/assets/FoundationJsAsset.php
namespace frontend\assets;
use yii\web\AssetBundle;
/**
* @author Greg Popov <greg.georg.popov@gmail.com>
* @since 2.0
*/
class FoundationJsAsset extends AssetBundle
{
public $sourcePath = '@vendor/bower/foundation';
public $js = [
'/js/foundation.min.js'
];
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question