mirror of
https://github.com/SteamDeckHomebrew/decky-plugin-template.git
synced 2025-12-03 20:38:07 -06:00
32 lines
961 B
Markdown
32 lines
961 B
Markdown
# React-Frontend Plugin Template
|
|
|
|
Reference example for using [decky-frontend-lib](https://github.com/SteamDeckHomebrew/decky-frontend-lib) in a [PluginLoader](https://github.com/SteamDeckHomebrew/PluginLoader) plugin.
|
|
|
|
## PluginLoader Discord [](https://discord.gg/ZU74G2NJzk)
|
|
|
|
## Developers
|
|
|
|
### Dependencies
|
|
|
|
This template relies on the user having `pnpm` installed on their system.
|
|
This can be downloaded from `npm` itself which is recommended.
|
|
|
|
#### Linux
|
|
```bash
|
|
sudo npm i -g pnpm
|
|
```
|
|
|
|
### Installation
|
|
|
|
1. Clone the repository to use as an example for making your plugin.
|
|
2. In your clone of the repository run these commands:
|
|
1. ``pnpm i``
|
|
2. (Optional, needed to solve build errors)
|
|
1. ``pnpm update decky-frontend-lib --latest``
|
|
3. ``pnpm run build``
|
|
3. You should do this every time you make changes to your plugin.
|
|
|
|
### Distribution
|
|
|
|
WIP. Check back in later.
|
|
|