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:
9
node_modules/astro/dist/vite-plugin-astro-server/resolve.js
generated
vendored
Normal file
9
node_modules/astro/dist/vite-plugin-astro-server/resolve.js
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
import { resolveIdToUrl } from "../core/viteUtils.js";
|
||||
function createResolve(loader, root) {
|
||||
return async function(s) {
|
||||
return await resolveIdToUrl(loader, s, root);
|
||||
};
|
||||
}
|
||||
export {
|
||||
createResolve
|
||||
};
|
Reference in New Issue
Block a user