kartik-v / yii2-markdown

Advanced Markdown editing and conversion utilities for Yii Framework 2.0
http://demos.krajee.com/markdown
Other
89 stars 41 forks source link

Class 'kartik\widgets\AssetBundle' not found #23

Closed asoqa closed 10 years ago

asoqa commented 10 years ago

create_article.php

use kartik\markdown\MarkdownEditor; // usage without model echo MarkdownEditor::widget([ 'name' => 'markdown', 'value' => 'test', ]);

  1. in /home/xxx/vendor/kartik-v/yii2-markdown/markdown/MarkdownEditorAsset.php at line 18 9101112131415161718192021222324252627

namespace kartik\markdown;

/**

kartik-v commented 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.

asoqa commented 10 years ago

it works, thanks