Skip to content

Latest commit

 

History

History
21 lines (12 loc) · 569 Bytes

README.md

File metadata and controls

21 lines (12 loc) · 569 Bytes

Purpose

A template for building bookmarklets with svelte for building UI components. It can be cloned with npx degit 6zz/svelte-bookmarklet-tpl project-name.

Dependency

  • node >= 10.0.0 because rollupjs

Development

  1. run npm run dev will start a live reload dev session
  2. npm start to start the localhost

Create Bookmarklet

  1. npm run build to generate the dist/bundle.js
  2. copy the content from the bundle.js file into bookmark's address field

Resources