https://github.com/keycloakify/keycloakify-starter-svelte
https://github.com/keycloakify/keycloakify-starter-svelte
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/keycloakify/keycloakify-starter-svelte
- Owner: keycloakify
- Created: 2024-11-23T09:50:58.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-05-27T13:38:09.000Z (about 1 year ago)
- Last Synced: 2025-05-27T14:44:14.765Z (about 1 year ago)
- Language: Svelte
- Size: 895 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
🚀 Svelte + Vite Keycloakify v11 starter 🚀
This starter is based on Vite and Svelte.
# Quick start
```bash
git clone https://github.com/keycloakify/keycloakify-starter-svelte
cd keycloakify-starter-svelte
yarn install # Or use an other package manager, just be sure to delete the yarn.lock if you use another package manager.
```
# Testing the theme locally
[Documentation](https://docs.keycloakify.dev/testing-your-theme)
# How to customize the theme
[Documentation](https://docs.keycloakify.dev/customization-strategies)
# Building the theme
You need to have [Maven](https://maven.apache.org/) installed to build the theme (Maven >= 3.1.1, Java >= 7).
The `mvn` command must be in the $PATH.
- On macOS: `brew install maven`
- On Debian/Ubuntu: `sudo apt-get install maven`
- On Windows: `choco install openjdk` and `choco install maven` (Or download from [here](https://maven.apache.org/download.cgi))
```bash
yarn run build-keycloak-theme
```
Note that by default Keycloakify generates multiple .jar files for different versions of Keycloak.
You can customize this behavior, see documentation [here](https://docs.keycloakify.dev/targeting-specific-keycloak-versions).
# Initializing the account theme
```bash
yarn keycloakify initialize-account-theme
```
# Initializing the email theme
```bash
yarn keycloakify initialize-email-theme
```
# Ejecting pages
```bash
yarn keycloakify eject-page
```
# Adding storybook stories
```bash
yarn keycloakify add-story
```