mirror of
https://github.com/teamhanko/hanko.git
synced 2025-10-30 08:07:28 +08:00
Bumps [@vitejs/plugin-vue](https://github.com/vitejs/vite-plugin-vue/tree/HEAD/packages/plugin-vue) from 3.2.0 to 4.1.0. - [Release notes](https://github.com/vitejs/vite-plugin-vue/releases) - [Changelog](https://github.com/vitejs/vite-plugin-vue/blob/main/packages/plugin-vue/CHANGELOG.md) - [Commits](https://github.com/vitejs/vite-plugin-vue/commits/plugin-vue@4.1.0/packages/plugin-vue) --- updated-dependencies: - dependency-name: "@vitejs/plugin-vue" dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
Hanko React example
This is a Vue project bootstrapped with Vue version 3.2.39.
Starting the app
Prerequisites
- a running Hanko API (see the instructions on how to run the API in Docker or from Source)
- a running express backend (see the README for the express backend)
Set up environment variables
In the .env file set up the correct environment variables:
VITE_HANKO_API: this is the URL of the Hanko API (default:http://localhost:8000, can be customized using theserver.public.addressoption in the configuration file)VITE_TODO_API: this is the URL of the express backend (default:http://localhost:8002)
Run development server
Run npm install to install dependencies, then run npm run start for a development server. Navigate to http://localhost:8888/. The application will automatically reload if you change any of the source files.