Files
voyage/apps/public-web/node_modules/next/dist/esm/client/next-dev.js
PascalSchattenburg d147843c76 feat(blog): add file-based blog with dynamic slugs, MDX content and layout shell
- Introduced blog routing using Next.js App Router
- Implemented dynamic [slug] pages for blog posts
- Added MDX-based content loading via lib/posts
- Integrated shared TopBar layout with navigation
- Established clear content, lib and component separation
2026-01-22 14:14:15 +01:00

23 lines
603 B
JavaScript

// TODO: Remove use of `any` type.
import './webpack';
import { initialize, version, router, emitter } from './';
import initHMR from './dev/hot-middleware-client';
import { pageBootstrap } from './page-bootstrap';
window.next = {
version,
// router is initialized later so it has to be live-binded
get router () {
return router;
},
emitter
};
const devClient = initHMR();
initialize({
devClient
}).then(({ assetPrefix })=>{
return pageBootstrap(assetPrefix);
}).catch((err)=>{
console.error('Error was not caught', err);
});
//# sourceMappingURL=next-dev.js.map