0.1.2 • Published 3 years ago
cra-template-pwa-tailwind v0.1.2
CRA Template (PWA and Tailwind)
How to Install
With NPM
npx create-react-app my-app --template pwa-tailwind
With Yarn
yarn create react-app my-app --template pwa-tailwind
Features
- PWA with cache replacement
- Forms - React Hook Form
- CSS Utilities - Tailwind CSS
- State Management - Redux Toolkit
- Routing - React Router DOM
Commands
Development
yarn dev
Starts the development serveryarn build
: Builds the application bundleserve -s build
: Serve the production build (local testing)
Production
yarn version --patch | --minor | --major
: Increments the version number (important for clear cache)yarn build:prod
: Builds the production bundle for the PWA