mirror of
https://github.com/withastro/astro.git
synced 2024-12-23 21:53:55 -05:00
faf3f3a8d1
* feat: replace with-nanostores with new example * docs: update README with docs call-out * chore: small formatting inconsistencies * nit: standardize to spaces :'( * nit: standardize to tabs! * refactor: use html "hidden" property * nit: beta.66 for sanity
9 lines
601 B
Markdown
9 lines
601 B
Markdown
# Astro Example: Nanostores
|
|
|
|
```
|
|
npm init astro -- --template with-nanostores
|
|
```
|
|
|
|
[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/withastro/astro/tree/latest/examples/with-nanostores)
|
|
|
|
This example showcases using [`nanostores`](https://github.com/nanostores/nanostores) to provide shared state between components of any framework. [**Read our documentation on sharing state**](https://docs.astro.build/en/core-concepts/sharing-state/) for a complete breakdown of this project, along with guides to use React, Vue, Svelte, or Solid!
|