blob: b76d28fb174af1e2c56fe559fb3f3a080da0078b (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
import { registerCustomElement, registerPorts } from "elm-mapbox";
import "mapbox-gl/dist/mapbox-gl.css";
import { Elm } from "./Example04.elm";
const token = "pk.eyJ1IjoiZW...";
registerCustomElement({token});
var app = Elm.Example04.init({node: document.body});
registerPorts(app);
|