Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
React SPA template without Create React App, preconfigured with Webpack, Babel, ESLint, Sass, PostCSS, and emotion.

A full-stack Next.js TypeScript template focused on functionality over UI, featuring Zustand, TanStack Query, and ESLint 9 support.
react-spa-template is a React single-page application boilerplate that sets up Webpack, Babel, ESLint, Sass, PostCSS, and emotion without relying on Create React App.
react-spa-template is a ready-to-use React SPA starter kit that configures a development server, production build, and GitHub Pages deployment out of the box. It takes plain React source files as input and produces a compiled bundle in the dist/ directory for production use. The template is open source and hosted on GitHub by ofnullable, and a live demo is available at https://ofnullable.github.io/react-spa-template.
npm run build compiles the app into a production-ready dist/ directory.npm start launches a development server at http://localhost:8080.npm run deploy publishes the built site to GitHub Pages after editing the homepage field in package.json.npm install, and start coding with the dev server on localhost:8080.npm run deploy.Clone the repository and install dependencies with npm install. Use npm start for a dev server at http://localhost:8080, npm run build to create a production bundle in dist/, or npm run deploy to publish to GitHub Pages after setting the homepage field in package.json.
Yes, it is an open source public repository on GitHub, so you can clone, use, and modify it under the terms of its license.
No, this template is specifically built without Create React App. It uses Webpack, Babel, ESLint, Sass, PostCSS, and emotion directly.
Run npm install once, then run npm start. The server will be available at http://localhost:8080.
Run npm run build. The compiled files will be saved in the dist/ directory.
Edit the homepage field in package.json to something like https://{username}.github.io/{repo} and then run npm run deploy.
Create React App is the official React boilerplate, but it abstracts away the build configuration that this template exposes.
