Skip to content

micro-artwork/chrome-extension-svelte-boilerplate

Repository files navigation

Chrome Extension Svelte Boilerplate

icon

This boilerplate is a bare minimum for developing chrome extensions with Svelte. And to build it, can choose Webpack 5 or Rollup bundler.

Getting Started

  1. Clone or Download the repo
https://github.com/micro-artwork/chrome-extension-svelte-boilerplate.git
  1. Install NPM packages

package.json file is for Webpack basically, If want to use Rollup bundler to build, replace package.rollup.json with package.json.

npm install
  1. Excute NPM command for development
npm start
  1. Open and browse chrome extensions management
chrome://extensions/
  1. Turn on developer mode and load the unpacked extension from dist folder
./dist
  1. Test

test

Note

Content-scripts template base is Svelte. But if won't need to insert UI components, need not Svelte and can use Vanilla JS.

About

A boilerplate for chrome extension with svelte

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published