An open API service indexing awesome lists of open source software.

https://github.com/sooniter/tampermonkey-svelte-template

A template with Svelte + TS + Unocss + Vite to build UI - Tampermonkey script
https://github.com/sooniter/tampermonkey-svelte-template

svelte template typescript unocss

Last synced: 11 months ago
JSON representation

A template with Svelte + TS + Unocss + Vite to build UI - Tampermonkey script

Awesome Lists containing this project

README

          

# A template with Svelte + TS + Unocss + Vite to build UI - Tampermonkey script

Svelte, Typescript, Vite, Unocss, unplugin-auto-import

Seperate your code in the shadow-root with the main webpage whether js , css or png.

## Quick start

```shell
npx degit SoonIter/tampermonkey-svelte-template my-script-app
pnpx degit SoonIter/tampermonkey-svelte-template my-script-app
```

```shell
npm run build

dist
├── Tampermonkey.iife.js
└── favicon.ico
```

Copy this file to your new Tampermonkey script and write some configs.

![](./docs/imgs/howToUse/copyTheFile.png)