mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-12-27 05:44:17 +03:00
8ee5b2a649
Squashed commits: [ea4646e3] Fix two errors. [31faf674] Add initial Vite SSR setup.
13 lines
339 B
JavaScript
13 lines
339 B
JavaScript
/** @typedef {{load: (Promise<unknown>); flags: (unknown)}} ElmPagesInit */
|
|
|
|
/** @type ElmPagesInit */
|
|
export default {
|
|
load: async function (elmLoaded) {
|
|
const app = await elmLoaded;
|
|
// console.log("App loaded", app);
|
|
},
|
|
flags: function () {
|
|
return "You can decode this in Shared.elm using Json.Decode.string!";
|
|
},
|
|
};
|