Refactor routing in App component to enhance navigation and improve error handling by integrating dynamic routes and updating the NotFound route.

This commit is contained in:
becarta
2025-05-23 12:43:00 +02:00
parent f40db0f5c9
commit a544759a3b
11127 changed files with 1647032 additions and 0 deletions

27
node_modules/flattie/dist/index.js generated vendored Normal file
View File

@@ -0,0 +1,27 @@
function iter(output, nullish, sep, val, key) {
var k, pfx = key ? (key + sep) : key;
if (val == null) {
if (nullish) output[key] = val;
} else if (typeof val != 'object') {
output[key] = val;
} else if (Array.isArray(val)) {
for (k=0; k < val.length; k++) {
iter(output, nullish, sep, val[k], pfx + k);
}
} else {
for (k in val) {
iter(output, nullish, sep, val[k], pfx + k);
}
}
}
function flattie(input, glue, toNull) {
var output = {};
if (typeof input == 'object') {
iter(output, !!toNull, glue || '.', input, '');
}
return output;
}
exports.flattie = flattie;