mirror of
https://github.com/LukeHagar/sveltekit-extension-template.git
synced 2025-12-06 04:21:37 +00:00
64 lines
1.0 KiB
Markdown
64 lines
1.0 KiB
Markdown
# SvelteKit Chrome Extension Template
|
|
By Luke Hagar
|
|
|
|
|
|
Built with [Sveltekit](https://kit.svelte.dev) and [Skeleton](https://www.skeleton.dev)
|
|
|
|
Out of the box Includes:
|
|
* [x] Svelte 5
|
|
* [x] Skeleton 3
|
|
* [x] Tailwind 4
|
|
* [x] Chrome Types
|
|
* [x] ESlint
|
|
* [x] Prettier
|
|
* [x] TypeScript
|
|
* [x] Vite
|
|
* [x] Vitest
|
|
|
|
|
|
|
|
|
|
## Reference Documentation
|
|
|
|
|
|
[Extension Development Basics](https://developer.chrome.com/docs/extensions/mv3/getstarted/development-basics/)
|
|
|
|
|
|
|
|
## Developing
|
|
|
|
Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server:
|
|
|
|
NPM:
|
|
```bash
|
|
npm run dev
|
|
```
|
|
Yarn:
|
|
```bash
|
|
yarn dev
|
|
```
|
|
pnpm:
|
|
```bash
|
|
pnpm dev
|
|
```
|
|
|
|
## Building
|
|
|
|
To create a production version of your app:
|
|
|
|
NPM:
|
|
```bash
|
|
npm run build
|
|
```
|
|
Yarn:
|
|
```bash
|
|
yarn build
|
|
```
|
|
pnpm:
|
|
```bash
|
|
pnpm build
|
|
```
|
|
|
|
|
|
> To deploy your app, you can load it as an unpacked chrome extension, instructions are in [Extension Development Basics](https://developer.chrome.com/docs/extensions/mv3/getstarted/development-basics/)
|