Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit b6d2e6c

Browse files
committed
making shadow-cljs obvious
1 parent 593ef8e commit b6d2e6c

File tree

1 file changed

+7
-14
lines changed

1 file changed

+7
-14
lines changed

‎README.md‎

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,39 +4,32 @@ Node.js example for [shadow-cljs](https://github.com/thheller/shadow-cljs)
44

55
### Develop
66

7+
```bash
8+
npm i -g shadow-cljs
9+
```
10+
711
With hot code swapping support:
812

913
```bash
10-
yarn watch
14+
shadow-cljs watch app
1115
# another tty
1216
node target/main.js
1317
```
1418

1519
### Build
1620

1721
```bash
18-
yarn build
22+
shadow-cljs release app
1923
```
2024

2125
Compiles to `target/main.js`.
2226

2327
### Steps
2428

2529
* add `shadow-cljs.edn` to config compilation
30+
* compile ClojureScript
2631
* run `node target/main.js` to start app and connect reload server
2732

28-
### Scripts:
29-
30-
Related npm scripts:
31-
32-
```js
33-
"scripts": {
34-
"watch": "shadow-cljs watch app",
35-
"compile": "shadow-cljs compile app",
36-
"build": "shadow-cljs release app"
37-
},
38-
```
39-
4033
### License
4134

4235
MIT

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /