https://github.com/ivanminutillo/reagent-shadow-oz-example
https://github.com/ivanminutillo/reagent-shadow-oz-example
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ivanminutillo/reagent-shadow-oz-example
- Owner: ivanminutillo
- License: mit
- Created: 2019-05-08T14:20:43.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-09-24T17:06:07.000Z (over 4 years ago)
- Last Synced: 2025-01-11T23:35:09.461Z (4 months ago)
- Language: Clojure
- Size: 28.3 KB
- Stars: 0
- Watchers: 2
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# A basic example of reagent + shadow-cljs + Oz setup
Following [this issue](https://github.com/metasoarous/oz/issues/64), the relevant changes to get Oz working with shadow-cljs are:
1. [Create a cljsjs folder with the required vega shim files](https://github.com/ivanminutillo/reagent-shadow-oz-example/tree/master/src/cljsjs)
2. [Add es6 compiler options on shadow-cljs.edn](https://github.com/ivanminutillo/reagent-shadow-oz-example/blob/master/shadow-cljs.edn#L14)
3. [Install 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