UNPKG

nestjs-inertia

Version:

Unofficial NestJS (express platform) adapter for InertiaJS.

24 lines (20 loc) 683 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const viewTemplate = (pageString) => ` <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width,initial-scale=1" /> <link rel="icon" href="/favicon.ico" /> <link rel="stylesheet" href="/dist/css/app.css" /> <script defer type="module" src="/dist/js/app.js"></script> </head> <!-- The Inertia page object --> <body> <noscript>You need to enable JavaScript to run this app.</noscript> <div id="app" data-page='${pageString}'></div> </body> </html>`; exports.default = viewTemplate; //# sourceMappingURL=template.js.map