https://github.com/elsehow/reagent-npm-figwheel
lein template for projects using Reagent + hacky magic for npm mdoules
https://github.com/elsehow/reagent-npm-figwheel
Last synced: 10 months ago
JSON representation
lein template for projects using Reagent + hacky magic for npm mdoules
- Host: GitHub
- URL: https://github.com/elsehow/reagent-npm-figwheel
- Owner: elsehow
- License: epl-1.0
- Created: 2016-03-07T00:46:13.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-03-07T01:24:27.000Z (over 10 years ago)
- Last Synced: 2025-03-25T17:49:05.752Z (about 1 year ago)
- Language: Clojure
- Size: 10.7 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# reagent-figwheel-browserify
a copy of [reagent-template](https://github.com/reagent-project/reagent-template), with support for npm
## quickstart
clone this repository and
npm install
lein figwheel
## installing npm modules
npm install [my module]
npm run build
## how does it work?
in `src/js/deps.js`, we expose namespaces to `window`
the `npm run build` command produces a browserif bundle in `target/cljsbuild/public/js/deps-bundle.js`
then,