setting up pwa in a react app code example Example: create react app with pwa npx create-react-app my-app --template cra-template-pwa