Open jschlieber opened 8 years ago
Sometimes it's handy to just get the whole path as one parameter in the params like { 0: 'path/to/page'}. This can be achieved by defining a route like this:
params
{ 0: 'path/to/page'}
FlowRouter.route('/*', { name: 'page', public: true, action(params) { console.log('Params: ', params); console.log('Path: ', params[0]); } });
But I just noticed that there is no SSR for such a route definition. Is that intentional?
Sometimes it's handy to just get the whole path as one parameter in the
params
like{ 0: 'path/to/page'}
. This can be achieved by defining a route like this:But I just noticed that there is no SSR for such a route definition. Is that intentional?