You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -57,9 +57,9 @@ During installation, you'll be prompted to choose either **Vue** or **React** fo
57
57
58
58
## 🚀 Usage
59
59
60
-
### 🔟 Where to Use `lang_file_load()`?
60
+
### 🔟 Where to Use `syncLangFiles()`?
61
61
62
-
Call `lang_file_load()`**inside your controller method****before rendering an Inertia view** to load necessary language files and share them with the frontend.
62
+
Call `syncLangFiles()`**inside your controller method****before rendering an Inertia view** to load necessary language files and share them with the frontend.
63
63
64
64
---
65
65
@@ -72,7 +72,7 @@ use Inertia\Inertia;
72
72
73
73
public function index()
74
74
{
75
-
lang_file_load('auth'); // Load a single language file
75
+
syncLangFiles('auth'); // Load a single language file
0 commit comments