Prerequisites:
- Node.js version 18 or higher
- Anywhere Vite can run
1
Run the setup tool
2
Preview locally
Navigate to the generated project, and start the vite server:A local preview of your documentation will be available at
http://localhost:3000.Install in existing Vite app
If you already have a React app running through Vite, Hana’s modular approach allows you to pick any piece, and install it into your app for a gradual adoption experience.1
Find the module to install
2
Follow the install guide
Most Hana modules can be used right on install, but if you need to do any config, you can follow the config guide tied to the module you want to use. For example, we can set default values and save our global state to sessionStorageEvery module will include its own config/setup guide
Next steps
Now that you have your application running, explore these key features:Hana Store
Set up a global store in your application for easy access to data from any component
File Router
Take advantage of file-based routing powered by React Router with no setup
Hana Auth
Let Hana take care of the annoying parts of authentication like middleware & config
Everyday Utils
Install Hana Utils for access to everyday features like caching & data fetching
Need help? Join our community to receive help from existing users

