This is a template for developing Ionic apps with React and Tailwind CSS, using shadcn/ui as the component library. Based on this article.
Before getting started, make sure you have the following installed:
npm install
To run the project, you can use the following scripts:
Development Mode: This script starts the development server and watches for changes in Tailwind CSS files.
npm run start:dev
Android: This script builds the project, syncs the changes with Capacitor, and runs the project on an Android device.
npm run start:android
End-to-End Tests: This script runs the Cypress end-to-end tests.
npm run test.e2e
Unit Tests: This script runs the unit tests.
npm run test.unit
Development Build: This script builds the project for development.
npm run build
Production Build: This script builds the project for production.
npm run build:css && tsc && vite build
npm run lint
This template is configured to use with Shadcnui.
That's it! You're ready to run and develop your Ionic app with React and Tailwind CSS.
Here are some useful links to documentation for the technologies used in this template: