Easier way to create a custom Laravel Blade directive when a string is being concatenated with variables

前端 未结 0 1808
北荒
北荒 2020-12-25 14:56

I created the following blade directive:

    Blade::directive(\'bundle\', function ($component) {
        $string = "\\":langs=\'\\" . file_get         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题