diff options
author | Andinus <andinus@nand.sh> | 2021-10-11 11:14:35 +0530 |
---|---|---|
committer | Andinus <andinus@nand.sh> | 2021-10-11 11:14:35 +0530 |
commit | ea9db62c67a3817918e5581b0b1477c9494844f7 (patch) | |
tree | ea6ed68e6079e86193d24fc1d0cc13ee4443a95c /package.json | |
parent | 3eb2fde31a7f7f243c41c99c2aeab103036865de (diff) | |
download | dorado-ea9db62c67a3817918e5581b0b1477c9494844f7.tar.gz |
Use plotly basic package, mount with onMount
Loading it with <svelte:head> meant that it was being fetched everytime user changed the page. Now it'll be bundled with bundle.js and we use onMount to solve it after everything has been loaded/rendered.
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/package.json b/package.json index ec70fbf..e603567 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "CG-Algorithms", + "name": "Dorado", "version": "0.1.0", "private": true, "scripts": { @@ -18,6 +18,7 @@ "svelte": "^3.0.0" }, "dependencies": { + "plotly.js-basic-dist-min": "^2.5.1", "sirv-cli": "^1.0.0" } } |