diff --git a/docs/awesome.md b/docs/awesome.md index 30d214a1..f2864f41 100644 --- a/docs/awesome.md +++ b/docs/awesome.md @@ -124,6 +124,16 @@ Sites and UI kits that ship with reseter.css.

Named under Alternatives.

u1ui/norm.css

+
+

Grafana Pyroscope

+

Cited in a PR review as an example global reset.

+

PR discussion (2022)

+
+
+

Eddie Jaoude

+

Live OSS review via EddieHub Community.

+

Review comment ยท YouTube

+
## Misc diff --git a/docs/getting-started.md b/docs/getting-started.md index 205a022e..78edad0e 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -72,7 +72,16 @@ createApp(App).mount("#app"); Svelte / SvelteKit ```js -// main.js (Svelte) +// main.js (Svelte 5+) +import "reseter.css"; +import { mount } from "svelte"; +import App from "./App.svelte"; + +mount(App, { target: document.getElementById("app") }); +``` + +```js +// main.js (Svelte 4) import "reseter.css"; import App from "./App.svelte"; @@ -210,7 +219,7 @@ Copy `dist/index.min.css` from the package into `static/css/index.min.css`, then
Ruby on Rails -With import maps or jsbundling/cssbundling, add `import "reseter.css"` in `application.js`. +With a JavaScript bundler that supports CSS imports, add `import "reseter.css"` in `application.js`. Rails import maps cannot import CSS this way; use a stylesheet link or the Sprockets recipe below. With Sprockets alone, copy `dist/index.min.css` to `app/assets/stylesheets/reseter.css`, then: