universal-scripts
v3.0.5
Published
Build universal apps without configuration.
Downloads
140
Readme
Universal Scripts
Alternative configuration for Create React App, with enhanced functionality, including server-side rendering and internationalization.
- Read the documentation
- Migrating from v1? Check the migration guide
- Report an issue
Quick start
If you have any maintained version of Node (at least v10) and NPM, just run:
npx create-react-app --scripts-version universal-scripts my-app
cd my-app
npm start
Then go to http://localhost:3000 to see your app.
Why Use This?
Create React App is the best way of keeping the build config out of your project, and makes build dependencies easier to manage, as you'll only need to care about a single package. But the default configuration is geared towards showing React to novices, and is missing some functionality required for bigger apps.
You could "eject", as they call it, and fine-tune your config, but this is hard, and loses many of the benefits of CRA. Many people fork React Scripts, so they can add support for the bits they need while keeping the config out. We decided to make a full rewrite, as our config was very different from the default one, but it still works with CRA, giving you all of its benefits.
Want to see all that it can do for your projects? Check the docs, or just skip to the getting started guide.