Добавить Tpl.blade.md
This commit is contained in:
7
Tpl.blade.md
Normal file
7
Tpl.blade.md
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
- добавление json в переменную для javascript
|
||||||
|
|
||||||
|
```js
|
||||||
|
<script>
|
||||||
|
var app = {{ Js::from($array) }};
|
||||||
|
</script>
|
||||||
|
```
|
||||||
Reference in New Issue
Block a user