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:
2
node_modules/astro/dist/vite-plugin-ssr-manifest/index.d.ts
generated
vendored
Normal file
2
node_modules/astro/dist/vite-plugin-ssr-manifest/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
import type { Plugin as VitePlugin } from 'vite';
|
||||
export declare function vitePluginSSRManifest(): VitePlugin;
|
25
node_modules/astro/dist/vite-plugin-ssr-manifest/index.js
generated
vendored
Normal file
25
node_modules/astro/dist/vite-plugin-ssr-manifest/index.js
generated
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
const manifestVirtualModuleId = "astro:ssr-manifest";
|
||||
const resolvedManifestVirtualModuleId = "\0" + manifestVirtualModuleId;
|
||||
function vitePluginSSRManifest() {
|
||||
return {
|
||||
name: "@astrojs/vite-plugin-astro-ssr-manifest",
|
||||
enforce: "post",
|
||||
resolveId(id) {
|
||||
if (id === manifestVirtualModuleId) {
|
||||
return resolvedManifestVirtualModuleId;
|
||||
}
|
||||
},
|
||||
load(id) {
|
||||
if (id === resolvedManifestVirtualModuleId) {
|
||||
return `export let manifest = {};
|
||||
export function _privateSetManifestDontUseThis(ssrManifest) {
|
||||
manifest = ssrManifest;
|
||||
}`;
|
||||
}
|
||||
return void 0;
|
||||
}
|
||||
};
|
||||
}
|
||||
export {
|
||||
vitePluginSSRManifest
|
||||
};
|
Reference in New Issue
Block a user