mirror of
https://github.com/dillonkearns/elm-pages.git
synced 2024-09-11 09:05:28 +03:00
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!";
|
|
},
|
|
};
|