我正在使用Laravel Pug https://github.com/BKWLD/laravel-pug,文件名为* .pug.blade.php。我正在尝试设置属性值。
network.hull_polygon = viewer.entities.add({
name : 'xxx',polygon : {
hierarchy : Cesium.Cartesian3.fromDegreesArray(points_array),material : color,...
}
});
输出html是
| <?php $x = "any"; ?>
div(class!="{{ $x }}")
| {{ $x }}