I apologise for asking this here but I didn't know where else to ask.
Can route patterns have an optional parameter for example a page number encoded as apart of the route?
For example to merge these two dispatches ..
dispatch('/blog/:slug','blog')
dispatch('/blog/:slug/:page', 'blog')
If so please can an example be added to the documentation regarding route patterns and parameters?
I apologise for asking this here but I didn't know where else to ask.
Can route patterns have an optional parameter for example a page number encoded as apart of the route?
For example to merge these two dispatches ..
If so please can an example be added to the documentation regarding route patterns and parameters?