nuxt catch all route split drupal and shopware
function parseURL(url: string, drupal: boolean): { path: string, query: string } { const split = url.split('?'); const path = split[0]; const query = split[1]; const drupalPath = `${path}?${query}`; return { path, query, drupalPath, }; }