The primary package for generating projects via a configuration file. It offers presets that can be easily extended within the configuration file.
The main generation function. It will create all the necessary parameters, plugins, routes, and mount the app
It is responsible for:
- Importing global styles from @tok/ui.
- Mounting AlertsPlugin from @tok/ui.
- Mounting CurrencyPlugin from @tok/ui.
- Mounting TokI18nPlugin from @tok/i18n.
- Handling router errors to reload your app after a new release of the onboarding.
- Ensuring that users stay within defined routes if they attempt to navigate to an unknown route.
A helper function solely intended to provide TypeScript definitions for your config, without containing any logic (for now)
The primary component in the generation process. It is responsible for:
- Automatically resolving the theme from Telegram.
- Handling BackButton navigation.
- Listening for the first interaction on the page to trigger the start of a video if necessary.
- Defining supported localizations.
- Notifying Telegram when the app is ready to use (after localization is loaded).
- Ensuring the app is always expanded upon loading.
- Wraping your entire app with Root component from @tok/ui