A minimial Svelte boilerplate for Overwolf, inspired by Overwolf Modern React Boilerplate
- Overwolf Plugin
- In game overlay and Desktop window
- Svelte and ES Modules support
- Nano Stores by Overwolf Nano Stores
- TailwindCSS and DaisyUI
- Markdown render by MDsveX
- Drag to move windows
- Node version >=18
Clone with Github's "Use this template":
Clone with degit:
# make copy of this repository
npx degit ntsd/overwolf-svelte-boilerplate `my-new-repo`
# change to project directory
cd overwolf-svelte-boilerplate
# install dependencies
npm i
# build overwolf plugin, you can now use `Load unpacked extension` to test the local plugin at `build`.
npm run build
# create opk file
npm run create-opk
├── src
│ ├── lib
│ │ ├── BackgroundWindow.svelte - The background will always running to control which page to restore
│ │ ├── CurrentPage.svelte - A component to check which page to render
│ │ ├── DesktopWindow.svelte - Desktop window
│ │ └── InGameWindow.svelte - In Game Window
│ ├── routes - Routes for svelte
│ ├── utils - Utilities script for overwolf API
| ├── overwolf.dev.mock.ts - Overwolf Mock to make it works for `npm run dev`
| ├── consts.ts - Constants variables
| └── app.postcss - Global CSS
├── static - static data includes manifest.json and icons
├── svelte.config.js - Sveltekit configuration
└── tailwind.config.ts - Tailwind configuration
We are using Github Project for the roadmap and task-board.