Creates a starter project for Fulcro web applications, similar to create-react-app but for ClojureScript and Fulcro.
npx create-fulcro-app@latest my-appThe tool will prompt you for a root namespace with "app" as the default. Just press Enter to use "app" or type your preferred namespace like "com.mycompany.myapp".
<project-name>- Directory where the project will be created (required)
- Downloads the fulcro-template
- Prompts for or accepts a custom namespace
- Transforms all ClojureScript files to use your chosen namespace
- Renames directory structure to match the namespace
- Updates configuration files (
shadow-cljs.edn,package.json,README.adoc) - Installs npm dependencies
To work on this tool locally:
git clone <this-repo>
cd create-fulcro-app
npm install
# Test locally
mkdir test-area
./src/index.js test-appMIT