You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/index.qmd
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: Sverto
3
3
description: "**Sverto** is an extension for [Quarto](https://quarto.org) that lets you seamlessly write and include [Svelte](https://svelte.dev) components, like charts and other visuals, in your Quarto website."
4
-
author: James Goldie, 360info
4
+
author: James Goldie
5
5
date: last-modified
6
6
format:
7
7
sverto-html:
@@ -35,7 +35,7 @@ You'll need to install two things to run Sverto:
35
35
Install the project extension using:
36
36
37
37
```sh
38
-
quarto use template 360-info/sverto
38
+
quarto use template jimjam-slam/sverto
39
39
```
40
40
41
41
Then run:
@@ -68,7 +68,7 @@ Here's the short way to add Svelte component you've written to a Quarto doc:
68
68
5. Update the instantiated component with `myVisual.propName`
69
69
6. Render your Quarto project as usual with `quarto render` or `quarto preview`.
70
70
71
-
**To see this all in practice, check out [`example.qmd`](https://github.com/360-info/sverto/blob/main/example.qmd).**
71
+
**To see this all in practice, check out [`example.qmd`](https://github.com/jimjam-slam/sverto/blob/main/example.qmd).**
72
72
73
73
:::{.callout-note}
74
74
The `quarto preview` command won't "live reload" when you modify your Svelte component—but if you modify and save the Quarto doc that imports it, that will trigger a re-render. You may need to hard reload the page in your browser to see the updated Svelte component.
@@ -91,11 +91,11 @@ npm install d3-scale
91
91
If you'd prefer to compile your own Svelte components instead of letting this extension do it, you can skip steps 1 and 2 and simply refer to the compiled bundle with, for example, `Component = import("Component.js")` in an OJS block.
92
92
93
93
:::{.callout-note}
94
-
You must compile the Svelte component to an ES6 bundle, and you must enable accessors when compiling if you want to be able to update them from OJS. Refer to [`_extensions/sverto/rollup.config.js`](https://github.com/360-info/sverto/blob/firstrelease/_extensions/sverto/rollup.config.js) for guidance on configuring Rollup to do this.
94
+
You must compile the Svelte component to an ES6 bundle, and you must enable accessors when compiling if you want to be able to update them from OJS. Refer to [`_extensions/sverto/rollup.config.js`](https://github.com/jimjam-slam/sverto/blob/firstrelease/_extensions/sverto/rollup.config.js) for guidance on configuring Rollup to do this.
95
95
:::
96
96
97
97
## ❓ Issues
98
98
99
-
If you have any problems with the extension, please feel free to [create an issue](https://github.com/360-info/sverto)!
99
+
If you have any problems with the extension, please feel free to [create an issue](https://github.com/jimjam-slam/sverto)!
100
100
101
101
Special thanks to [Carlos Scheidegger](https://github.com/cscheid) from [Posit](https://posit.co) for his time and advice!
Copy file name to clipboardExpand all lines: docs/news.qmd
+5-1Lines changed: 5 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,17 @@
1
1
---
2
2
title: News
3
-
author: James Goldie, 360info
3
+
author: James Goldie
4
4
date: last-modified
5
5
format:
6
6
html:
7
7
title-block-banner: "#e1e4e6"
8
8
linkcolor: "#36a7e9"
9
9
---
10
10
11
+
## (Unreleased) Sverto 0.0.3
12
+
13
+
- Migrated from [`360-info/sverto`](https://github.comn/360-info/sverto) to [`jimjam-slam/sverto`](htps://github.com/jimjam-slam/sverto). Old GitHub links are maintained.
0 commit comments