https://github.com/tolgee/svelte-example
Example application of Tolgee Svelte integration
https://github.com/tolgee/svelte-example
Last synced: 9 months ago
JSON representation
Example application of Tolgee Svelte integration
- Host: GitHub
- URL: https://github.com/tolgee/svelte-example
- Owner: tolgee
- Created: 2021-11-04T14:14:31.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2025-04-24T07:48:03.000Z (about 1 year ago)
- Last Synced: 2025-06-05T04:28:33.909Z (about 1 year ago)
- Language: Svelte
- Size: 3.33 MB
- Stars: 8
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
🚨🚨🚨 This repo is just a dummy 🚨🚨🚨
Submit issues in the
monorepo
or
check the source code here.
# Example application of using Svelte with Tolgee
[
](https://tolgee.io)
This application is using SvelteKit. To learn more about Tolgee, visit [https://tolgee.io](https://tolgee.io).
## To run the app in dev mode
To install dependencies, run:
npm install
To run the app in dev mode with in-context translating mode:
1. Create a project on [Tolgee Cloud](https://app.tolgee.io) or use
self-hosted [Tolgee Server](https://github.com/tolgee/server).
2. Generate an API-KEY
3. Copy file `.env` to `.env.development.local`
4. Set `VITE_TOLGEE_API_KEY` to API key obtained in previous step
5. Run `npm run dev`
6. Have fun
## To run the app in production mode
To build the app for production run:
npm run build
Static website will be generated. To start local server with build app, run:
npm run serve
---
This repository is automatically re-published from [Tolgee JS monorepo](https://github.com/tolgee/tolgee-js).