https://github.com/bobbicodes/shadow-reagent
Clojurescript fork-and-go template
https://github.com/bobbicodes/shadow-reagent
Last synced: about 1 year ago
JSON representation
Clojurescript fork-and-go template
- Host: GitHub
- URL: https://github.com/bobbicodes/shadow-reagent
- Owner: bobbicodes
- Created: 2019-12-16T01:35:59.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2023-05-01T19:57:32.000Z (about 3 years ago)
- Last Synced: 2025-01-31T06:42:34.858Z (over 1 year ago)
- Language: Clojure
- Homepage:
- Size: 6.48 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# shadow-reagent
Like the [official quickstart](https://github.com/thheller/shadow-cljs), but without the extra steps.
## Development
You'll likely want to change the name from `shadow-reagent` to whatever your project is called. Here's where you need to do that:
1. In the `shadow-cljs.edn` file in the project root (so your `init` fn will be called)
2. Rename the subdirectories under the `src` and `test` paths (inside the project root)- *make sure to change hyphens (-) to underscores (_).*
3. In the `ns` macro at the top of `app.cljs` and `app_test.cljs`
Now you can do the thing:
```bash
$ npm install
added 97 packages from 106 contributors in 5.984s
```
Start the development process by running:
```bash
$ npx shadow-cljs watch app
...
[:app] Build completed. (134 files, 35 compiled, 0 warnings, 5.80s)
```
Or simply `jack-in` from your editor. Your app will be served at: at [http://localhost:8080](http://localhost:8080).
## Production build
```bash
npx shadow-cljs release app
```