mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-12-01 07:45:22 +03:00
8 lines
149 B
JavaScript
8 lines
149 B
JavaScript
const { Elm } = require("./cli.js");
|
|
|
|
const app = Elm.Main.init();
|
|
|
|
app.ports.toJsPort.subscribe(payload => {
|
|
console.log("payload", payload);
|
|
});
|