Support for src
This commit is contained in:
parent
98e30dae61
commit
57c4e38f7e
4 changed files with 30 additions and 3 deletions
2
resources/public/cljs/script.cljs
Normal file
2
resources/public/cljs/script.cljs
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
(defn foo []
|
||||
(println :foo))
|
||||
|
|
@ -22,6 +22,7 @@
|
|||
(rdom/render [my-component] (.getElementById js/document "app"))
|
||||
</script>
|
||||
|
||||
<script src="cljs/script.cljs" type="application/x-sci"></script>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue