Skip to content

panlw/chrome-ext-svelte

Repository files navigation

Chrome Extension - QRCode

License

MIT License: https://mit-license.org

Reference

NOTICE: SPA by SvelteKit is not supportted now.

Create Project

pnpm create vite # svelte, ts
cd chrome-ext-svelte
pnpm i
pnpm i -D qrcode @types/qrcode @types/chrome

Deploy Project

#!/bin/sh

basedir=~/Documents/chrome-exts
ext_dir=${basedir}/qrcode

rm -rf ${ext_dir} \
    && cp -pr dist ${ext_dir} \
    && cp -p manifest.json ${ext_dir}
{
    ...
    "build": "vite build && . deploy.sh",
    ...
}

About

Chrome Extension - QRCode by Svelte + Vite + TS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published