Closed asoqa closed 10 years ago
The kartik-v/yii2-widgets
is a pre-requisite package for the yii2-markdown
module. It seems your composer install did not complete this install successfully. You may try updating packages via composer once.
If you are still facing the same issue above, your composer install is kind of corrupted. Follow the steps in this article to reinstall your packages.
it works, thanks
create_article.php
namespace kartik\markdown;
/**
@since 1.0 */ class MarkdownEditorAsset extends \kartik\widgets\AssetBundle {
public function init() { $this->setSourcePath(DIR . '/../assets'); $this->setupAssets('css', ['css/kv-markdown']); $this->setupAssets('js', ['js/rangyinputs-jquery-1.1.2', 'js/kv-markdown']); parent::init(); }