This project is to showcase implementation of Feature Flags using react library and Unleash.
- React + Typescript
- Daisy UI + Tailwindcss
- Vite
- PNPM
This is a hosted demo officially from Unleash for anyone to play around and access the API. https://app.unleash-hosted.com/demo
You only need to register an email address. For this specific project, search a project named FF Demo Alchemy
This project equipped with:
- Linter
- Prettier
- Husky with Precommit
- Command generator to generate Page and component
pnpm install
pnpm dev
pnpm analyze
This project has several command generators to automatically create a new component or a page. Built with Hygen
Make sure you remove and reinstall hygen.
pnpm remove hygen
// then reinstall
pnpm install hygen
npx hygen shared-component new ComponentName
npx hygen page-component new --page PageName --name ComponentName
npx hygen page new PageName