Specific routes for NativePHP app #155
maurocasas
started this conversation in
Ideas
Replies: 1 comment
-
You could do this right now, just split your routes into a In your Route::middleware('web')
->group(base_path('routes/web.php'));
+
+ Route::middleware('web')
+ ->name('native.')
+ ->prefix('native')
+ ->group(base_path('routes/native.php')); Create a Then make sure any Windows you create in NativePHP reference those routes explicitly, for example: Window::open()
->url(url('native/')
...
// OR
Window::open()
->route('native.home')
... |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm creating this feature request so I can contribute with it.
I believe it'd be interesting to be able to have both the NativePHP app and web/API under the same project by dividing the routes in projects of lesser complexity.
Beta Was this translation helpful? Give feedback.
All reactions