Skip to content

Commit 01d5f8a

Browse files
authored
Create README.md
1 parent 55abeb9 commit 01d5f8a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ class HomeController extends Controller
6262
Next, in your blade view add:
6363

6464
```php
65-
{{ JavaScript::render() }}
65+
{{ ScriptVariables::render() }}
6666
```
6767

6868
Then in your JavaScript you can use:
@@ -72,7 +72,7 @@ const key = window.config.key
7272
const user = window.config.data.user
7373
```
7474

75-
To customize the namespace use `JavaScript::render('custom')`.
75+
To customize the namespace use `ScriptVariables::render('custom')`.
7676

7777
#### Global Variables
7878

0 commit comments

Comments
 (0)