dongzu3511 2018-08-27 13:53
浏览 325
已采纳

Laravel 5.7 - 使用命令'php artisan make:auth'后,Ckeditor停止显示

Before using the command

php artisan make:auth

the ckeditor, taken from the website https://github.com/UniSharp/laravel-ckeditor

was working fine.

After using the command, the ckeditor code has dissapeared in the file app.blade.php. In this case, the code

<script src="/vendor/unisharp/laravel-ckeditor/ckeditor.js"></script>
<script>
    CKEDITOR.replace( 'article-ckeditor' );
</script>

was put again in the app.blade.php and the following commands in the terminal were used once more:

composer require unisharp/laravel-ckeditor
php artisan vendor:publish --tag=ckeditor

Also,in the config/app.php in the addservice provider is still the:

Unisharp\Ckeditor\ServiceProvider::class,

I am doing tutorial from traversy media channel on the youtube, which link is the following laravel from scratch

My question is, what else I must write down in the Laravel, that the CKeditor will be visible.

  • 写回答

1条回答 默认 最新

      报告相同问题?

      相关推荐 更多相似问题

      悬赏问题

      • ¥25 接口/特征方法的异常错误返回如何判断是否需要设计
      • ¥40 代码+预测分析,文件私信发哦(价格可商量)
      • ¥15 GAMES101 HW1 无法定义
      • ¥15 pycharm不管允许什么代码都出错,都会出现下面的情况。
      • ¥15 boost::integrate的用法
      • ¥20 51单片机输出pwm时无法调节频率,如何解决?
      • ¥15 DSP28335 AD采集正弦波
      • ¥50 pwwinauto调式修改
      • ¥30 关于#单片机#的问题:单片机基于51单片机开发计时器,使其实现以下功能:(1)开发板上四个独立按键分别控制计时器的启停、计时器的复位(按下计时值归零)、计时位切换、计时时间的递增
      • ¥15 看个代码。做个详细的解说