create-expo-cljs-app v1.0.23
Create Expo CLJS App
Create Expo ClojureScript apps with a single command. This project focuses on making it easy for JS and React developers to get started with native mobile ClojureScript development.
If something doesn’t work, please file an issue.
Inspired by create-cljs-app (for web) and reagent-expo.
Quick Overview
yarn create expo-cljs-app my-app
cd my-appThen start the Shadow compiler.
shadow-cljs watch appIn another terminal start the JavaScript bundler.
yarn startWhen you’re ready to deploy to production, compile cljs for production release.
shadow-clj release appAnd then follow expo instructions to make a build or OTA update.
Creating an App
Requirements
Expo Client and Expo CLI tools. Find those here.
Node 10.16.0 or later version You can use nvm (macOS/Linux) or nvm-windows to easily switch Node versions between different projects.
To create a new app:
yarn create expo-cljs-app my-appyarn create is available in Yarn 0.25+
It will create a directory called my-app inside the current folder.
Inside that directory, it will generate the initial project structure and install the transitive dependencies:
my-app
├── app.json
├── assets
│ ├── icon.png
│ ├── shadow-cljs.png
│ └── splash.png
├── babel.config.js
├── externs
│ └── app.txt
├── package.json
├── README.md
├── shadow-cljs.edn
├── src
│ ├── app
│ │ ├── db.cljs
│ │ ├── handlers.cljs
│ │ ├── handlers_test.cljs
│ │ ├── helpers.cljs
│ │ ├── index.cljs
│ │ ├── subscriptions.cljs
│ │ └── subscriptions_test.cljs
│ └── reagent
│ └── dom.cljs
└── yarn.lockLicense
Create Expo CLJS App is open source software licensed as MIT.
4 years ago
4 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago