-
-
Save joannecheng/624f03fd15877f61cf6f79b735d33c22 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html> | |
<head> | |
<meta charset="utf-8" /> | |
<title>acme frontend</title> | |
</head> | |
<body> | |
<div id="root"></div> | |
<script src="/js/main.js"></script> | |
</body> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns try-new-re-frame.main | |
(:require [re-frame.core :as re-frame])) | |
(defn init [] | |
(js/alert "hello")) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; shadow-cljs configuration | |
{:source-paths | |
["src/dev" | |
"src/main" | |
"src/test"] | |
:dependencies | |
[[re-frame/re-frame "1.1.0"]] | |
:dev-http {8080 "public"} | |
:builds | |
{:frontend | |
{:target :browser | |
:modules {:main {:init-fn try-new-re-frame.main/init}}}}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment