scripts | create-react-app | create-next-app | create-razzle-app |
---|---|---|---|
dev server | npm start | npm run dev | npm start |
prod server | - | npm run start | npm run start:prod |
build | npm run build | npm run build | npm run build |
test | npm test | - | npm test |
eject | npm run eject | - | - |
features | create-react-app | create-next-app | create-ruzzle-app |
---|---|---|---|
dotenv | + | - | + |
test runner | jest | - | jest |
SSR | - | + | + |
docs | docs | README | README |
eslint | react-app | - | - |
babel-preset | react | next | razzle |
webpack | npm run eject | razzle.config.js | next.config.js |
css | style | plugins for next.config.js | same as create-react-app |
configure tests | not fully | - | ? |