-
-
Notifications
You must be signed in to change notification settings - Fork 54
CLI
Antony Budianto edited this page Jul 14, 2018
·
7 revisions
cra-universal init
It will copy ./templates/server
into the current directory (it should be run on CRA client root)
cra-universal start
This will start CRA server for development. You can also run both client and server by running:
cra-universal start --both
cra-universal build
This will run npm run build
on both CRA client and server and then combine them into ./dist
folder. Make sure your build
npm script is still there
cra-universal clean
This command will clean the build result generated by the CLI (dist, build, server-build)
Please give your support by ⭐️ starring ⭐️ this repo, Thank you 🎉 🎉 🎉