mirror of
https://github.com/SillyTavern/Extension-ReactTemplate.git
synced 2026-10-15 13:31:57 +00:00
Template repository for SillyTavern extensions using React and Webpack.
- JavaScript 100%
| dist | ||
| src | ||
| .gitignore | ||
| LICENSE | ||
| manifest.json | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| webpack.config.js | ||
Extension-ReactTemplate
Template repository for SillyTavern extensions using React and Webpack.
How to use
- Click "Use this template" on the GitHub page.
- Create a new repository and clone it to your local machine.
- Open the repository in your code editor and run
npm install. - Edit the
manifest.jsonfile. - Write the source code in
srcdirectory. - When you're ready to test - run
npm run build. - Minimized bundle will appear in
dist, ready to be plugged into SillyTavern.
Tip
If you want to test your extension live, clone the repo into the
/public/scripts/extensions/third-partyof your SillyTavern installation.