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
- Host: GitHub
- URL: https://github.com/6zz/svelte-bookmarklet-tpl
- Owner: 6zz
- Created: 2020-09-18T23:53:49.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-08-11T23:01:46.000Z (almost 3 years ago)
- Last Synced: 2024-03-01T17:37:00.374Z (4 months ago)
- Language: JavaScript
- Size: 131 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Lists
- awesome-stars - 6zz/svelte-bookmarklet-tpl - a bookmarklet building tool that uses svelte for UI templating (JavaScript)
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)