Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/6zz/svelte-bookmarklet-tpl

a bookmarklet building tool that uses svelte for UI templating
https://github.com/6zz/svelte-bookmarklet-tpl

Last synced: 6 days ago
JSON representation

a bookmarklet building tool that uses svelte for UI templating

Lists

README

        

# 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
1. `npm start` to start the localhost

## Create Bookmarklet

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

## Resources

* [rollup configuration](https://rollupjs.org/guide/en/#configuration-files)