php - laravel 模板变量符 "{{}}" 更改
PHPz
PHPz 2017-04-10 16:47:43
0
1
241

laravel 的 {{}} 跟 angularjs冲突了,文档上说 加@ 的,试过可以,但angular 的 模板已经有好多地方用到了,所以只能改laravel 的了,这个有配置吗?

PHPz
PHPz

学习是最好的投资!

reply all(1)
左手右手慢动作
Route::get('/', function()
{
    Blade::setEscapedContentTags('[[', ']]');
    Blade::setContentTags('[[[', ']]]');

    return View::make('home');
});
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template