mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-12-27 05:44:17 +03:00
18 lines
295 B
JavaScript
18 lines
295 B
JavaScript
export function elmPagesUiFile() {
|
|
return `module Pages exposing (builtAt)
|
|
|
|
import Time
|
|
import Json.Decode
|
|
import Json.Encode
|
|
|
|
|
|
builtAt : Time.Posix
|
|
builtAt =
|
|
Time.millisToPosix ${Math.round(global.builtAt.getTime())}
|
|
`;
|
|
}
|
|
|
|
export function elmPagesCliFile() {
|
|
return elmPagesUiFile();
|
|
}
|