elm-pages-v3-beta/examples/docs/run-cli.js
2019-08-19 09:32:09 -07:00

8 lines
149 B
JavaScript

const { Elm } = require("./cli.js");
const app = Elm.Main.init();
app.ports.toJsPort.subscribe(payload => {
console.log("payload", payload);
});