[英]can we include the partial view with html content stored in database #laravel
例如数据库中的数据为
<div>
@include('web.home')
<div>
在 Laravel 视图中,我们可以解析这些数据和部分视图,假设$test
保存数据{{$test}} or {!! $test !!}
{{$test}} or {!! $test !!}
没有用
我试图再次使用Blade::compileString($test)
重新编译刀片,但没有运气
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.