test-svelte-userscript Svelte Themes

Test Svelte Userscript

Testing project for creating a userscripts using Svelte and Rollup.

Get started

Install the dependencies...

cd test-svelte-userscript
npm install

...then start Rollup:

npm run dev

Install a script manager, e.g. Tampermonkey, open it, create a new usercript and copy content of build/calculator.user.js file, and save it.

Navitage to Google home page and enjoy the calculator.

Building and running in production mode

To create an optimised version of the app:

npm run build

Top categories

Loading Svelte Themes