And instantly jump to the corresponding file in:
```
resources/js/Pages/Central/Dashboard/Index.jsx
```
Supports `.jsx`, `.tsx`, and `.js` files.
---
## Features
- Jump directly from Laravel controller to the matching Inertia page component
- Supports both single (`'`) and double (`"`) quotes in `Inertia::render(...)`
- Resolves `.jsx`, `.tsx`, and `.js` file extensions
- If the file doesn't exist, you’ll be prompted to create it (with folder auto-creation)
- Creates a basic component boilerplate when new files are generated
- Lightweight and requires zero configuration
---
## Example
```php
return Inertia::render('Admin/Profile/Settings');
```
🡺 Jumps to:
```
resources/js/Pages/Admin/Profile/Settings.jsx
```
If the file doesn’t exist, you’ll be prompted to create:
```
resources/js/Pages/Admin/Profile/Settings.jsx
```
with starter content:
```jsx
export default function Settings() {
return <div>Settings Page</div>;
}
```
---
## Requirements
- Laravel + Inertia.js (React-based)
- Inertia page components must reside in:
```
resources/js/Pages/...
```
---
## How to Use
1. Install the extension (`inertia-jump`)
2. Open a Laravel controller or route file
3. Hover or **Ctrl+Click** (or **Cmd+Click** on Mac) the string inside `Inertia::render(...)`
4. If the corresponding file exists, it will open
5. If it doesn’t exist, you’ll be asked if you want to create it
---
## Author
**Cletous Ngoma**
- [cletous@makuruwan.com](mailto:cletous@makuruwan.com)
- [https://mws.makuruwan.com](https://mws.makuruwan.com)
---
## License
MIT
```
---