From 6315e3ec39ea9c15dec0a83ae10805c6ebc42555 Mon Sep 17 00:00:00 2001 From: Dominic Kempf Date: Tue, 24 Sep 2024 13:22:15 +0200 Subject: [PATCH] Update README w.r.t. bundling --- README.md | 20 ++++++-------------- bundle/index.html | 21 ++++++++++++++++++++- 2 files changed, 26 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index 5c6d4d4..2149829 100644 --- a/README.md +++ b/README.md @@ -21,23 +21,15 @@ npm run dev ## Usage +You can create a bundle with the following commands: ``` - - - - - - Svelte Component - - - - - - - - +npm run easydb -- --instance-url=https://heidicon.ub.uni-heidelberg.de +npm run bundle ``` +This will generate `bundle.{js,css}` in the `bundle/` directory. You can look at the provided +`index.html` for an example of how to integrate into your HTML page. + ## Issues If you find any issues with using this component, please open an issue. diff --git a/bundle/index.html b/bundle/index.html index 63ad1ea..bf3cd67 100644 --- a/bundle/index.html +++ b/bundle/index.html @@ -4,9 +4,28 @@ Svelte Component + + + + + - + \ No newline at end of file