OK, Figwheel requires webroot under resources. Bother.
Bother.
This commit is contained in:
parent
26a60fb1fe
commit
ec9a0803f4
11 changed files with 29 additions and 690 deletions
File diff suppressed because one or more lines are too long
24
index.html
Normal file
24
index.html
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset='utf-8'>
|
||||
<meta http-equiv="refresh" content="0; URL='resources/public/index.html'" />
|
||||
<link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.5/css/bootstrap.min.css">
|
||||
<link rel="stylesheet" href="resources/public/css/re-com.css">
|
||||
<link rel="stylesheet" href="resources/public/css/swinging-needle-meter.css">
|
||||
<link href="http://fonts.googleapis.com/css?family=Roboto:300,400,500,700,400italic" rel="stylesheet" type="text/css">
|
||||
<link href="http://fonts.googleapis.com/css?family=Roboto+Condensed:400,300" rel="stylesheet" type="text/css">
|
||||
|
||||
<title>Example swinging needle meter following re-com conventions.</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="app">
|
||||
<h1>
|
||||
This isn't actually where you want to be.
|
||||
</h1>
|
||||
<p>
|
||||
If you're seeing this, you probably want to <a href="resources/public/index.html">go here.</a>
|
||||
</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
10
project.clj
10
project.clj
|
|
@ -14,9 +14,9 @@
|
|||
|
||||
:source-paths ["src/clj"]
|
||||
|
||||
:clean-targets ^{:protect false} ["docs/js/compiled" "target"]
|
||||
:clean-targets ^{:protect false} ["resources/public/js/compiled" "target"]
|
||||
|
||||
:figwheel {:css-dirs ["docs/css"]}
|
||||
:figwheel {:css-dirs ["resources/public/css"]}
|
||||
|
||||
:profiles
|
||||
{:dev
|
||||
|
|
@ -29,8 +29,8 @@
|
|||
:source-paths ["src/cljs"]
|
||||
:figwheel {:on-jsload "swinging-needle-meter.core/mount-root"}
|
||||
:compiler {:main swinging-needle-meter.core
|
||||
:output-to "docs/js/compiled/app.js"
|
||||
:output-dir "docs/js/compiled/out"
|
||||
:output-to "resources/public/js/compiled/app.js"
|
||||
:output-dir "resources/public/js/compiled/out"
|
||||
:asset-path "js/compiled/out"
|
||||
:source-map-timestamp true
|
||||
:preloads [devtools.preload]
|
||||
|
|
@ -40,7 +40,7 @@
|
|||
{:id "min"
|
||||
:source-paths ["src/cljs"]
|
||||
:compiler {:main swinging-needle-meter.core
|
||||
:output-to "docs/js/compiled/app.js"
|
||||
:output-to "resources/public/js/compiled/app.js"
|
||||
:optimizations :advanced
|
||||
:closure-defines {goog.DEBUG false}
|
||||
:pretty-print false}}]})
|
||||
|
|
|
|||
|
|
@ -1 +0,0 @@
|
|||
../../docs
|
||||
|
Before Width: | Height: | Size: 646 B After Width: | Height: | Size: 646 B |
|
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 3.8 KiB |
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
Loading…
Add table
Add a link
Reference in a new issue