Skip to content

Commit

Permalink
Merge branch 'master' of github.com:ivanminutillo/reagent-shadow-oz-e…
Browse files Browse the repository at this point in the history
…xample
  • Loading branch information
bernini committed May 8, 2019
2 parents 4b25dea + e78e907 commit a2126b8
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,27 @@ Oz + Reagent + shadow-cljs simplest example

Relevant changes to get Oz working with shadow-cljs are:

1.
1. [Vega required cljsjs shim files](https://github.com/ivanminutillo/reagent-shadow-oz-example/tree/master/src/cljsjs)
2. [es6 compiler options on shadow-cljs.edn](https://github.com/ivanminutillo/reagent-shadow-oz-example/blob/master/shadow-cljs.edn#L14)
3. [Vega dependencies on package.json](https://github.com/ivanminutillo/reagent-shadow-oz-example/blob/master/package.json#L25)

## Usage
Clone the demo

```
git clone https://github.com/ivanminutillo/reagent-shadow-oz-example.git
```

Enter the project and install the needed dependencies

```
cd reagent-shadow-oz-example && npm install
```

Start the app

```
shadow-cljs watch app
```
Visit http://localhost:3000

0 comments on commit a2126b8

Please sign in to comment.