Next.js website for Rocky Mountain Vending company featuring: - Product catalog with Stripe integration - Service areas and parts pages - Admin dashboard with Clerk authentication - SEO optimized pages with JSON-LD structured data Co-authored-by: Cursor <cursoragent@cursor.com>
23 lines
No EOL
603 B
Text
23 lines
No EOL
603 B
Text
// 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 |