Files
flvx/vite-frontend
sagit d2645589da feat(frontend): add customizable favicon and corner logo with live preview (#218)
* feat(frontend): add customizable favicon and corner logo with live preview

- Add app_logo and app_favicon config fields in config page
- Implement BrandLogo component with URL fallback to SVG logo
- Integrate BrandLogo into all layouts (admin, h5, h5-simple) and navbar
- Add real-time preview for favicon and logo in config page with error state
- Support both relative paths and full image URLs for branding assets
- Sync branding changes (app_name/app_logo/app_favicon) to site config on save

* fix(frontend): preserve tunnel node selection order

* fix(select): use useMemo for option label map to improve performance
2026-02-27 11:50:03 +08:00
..
2025-07-02 15:40:14 +08:00
2025-07-02 15:40:14 +08:00
2026-01-06 11:30:39 +08:00
2025-07-02 15:40:14 +08:00
2025-07-02 15:40:14 +08:00
2025-07-02 15:40:14 +08:00
2025-07-02 15:40:14 +08:00
2025-07-02 15:40:14 +08:00

Vite & HeroUI Template

This is a template for creating applications using Vite and HeroUI (v2).

Try it on CodeSandbox

Technologies Used

How to Use

To clone the project, run the following command:

git clone https://github.com/frontio-ai/vite-template.git

Install dependencies

You can use one of them npm, yarn, pnpm, bun, Example using npm:

npm install

Run the development server

npm run dev

Setup pnpm (optional)

If you are using pnpm, you need to add the following code to your .npmrc file:

public-hoist-pattern[]=*@heroui/*

After modifying the .npmrc file, you need to run pnpm install again to ensure that the dependencies are installed correctly.

License

Licensed under the MIT license.