n naroDocs

Create React App

Create React App projects build with react-scripts and are served as static assets with SPA fallback.

Detected by
react-scripts
Build command
npm run build
Output directory
build
Runtime
Static assets
SPA fallback
Yes
Build cache
node_modules/.cache

CRA is no longer maintained

The React team stopped recommending Create React App. Existing projects still deploy; for new ones, Vite is the faster path.

Deploy it

Run this inside the project. The first deploy creates and links it.

npx naro-cli deploy
npx naro-cli deploy --prod

Overrides

Project settings → Build configuration changes the build script and output directory for a project that does not follow its framework's defaults.