summaryrefslogtreecommitdiff
path: root/packages/integrations/react
diff options
context:
space:
mode:
authorGravatar Chris Swithinbank <swithinbank@gmail.com> 2022-07-11 21:10:34 +0200
committerGravatar GitHub <noreply@github.com> 2022-07-11 21:10:34 +0200
commitbf5d1cc1e71da38a14658c615e9481f2145cc6e7 (patch)
treebb7c27b98e84c274e98e6e0116c7dd90189b0a76 /packages/integrations/react
parent1554a37622babf5486d1201425d39142bc854a62 (diff)
downloadastro-bf5d1cc1e71da38a14658c615e9481f2145cc6e7.tar.gz
astro-bf5d1cc1e71da38a14658c615e9481f2145cc6e7.tar.zst
astro-bf5d1cc1e71da38a14658c615e9481f2145cc6e7.zip
More integration README fixes (#3885)
* Integration README fixes * More tweaks (mostly code backticks for filenames) * Update changeset * Few more tweaks * Make sure code blocks all have a code language * Use URLs of new docs pages for package homepage * One more stray `<br>` :boot: * Standardise to `sh` instead of `shell`
Diffstat (limited to 'packages/integrations/react')
-rw-r--r--packages/integrations/react/README.md6
-rw-r--r--packages/integrations/react/package.json2
2 files changed, 4 insertions, 4 deletions
diff --git a/packages/integrations/react/README.md b/packages/integrations/react/README.md
index e610faecd..9beebd056 100644
--- a/packages/integrations/react/README.md
+++ b/packages/integrations/react/README.md
@@ -29,7 +29,7 @@ If you run into any hiccups, [feel free to log an issue on our GitHub](https://g
First, install the `@astrojs/react` integration like so:
-```
+```sh
npm install @astrojs/react
```
@@ -41,7 +41,7 @@ npm install react react-dom
Now, apply this integration to your `astro.config.*` file using the `integrations` property:
-__astro.config.mjs__
+__`astro.config.mjs`__
```js
import react from '@astrojs/react';
@@ -62,4 +62,4 @@ To use your first React component in Astro, head to our [UI framework documentat
Also check our [Astro Integration Documentation][astro-integration] for more on integrations.
[astro-integration]: https://docs.astro.build/en/guides/integrations-guide/
-[astro-ui-frameworks]: https://docs.astro.build/en/core-concepts/framework-components/#using-framework-components \ No newline at end of file
+[astro-ui-frameworks]: https://docs.astro.build/en/core-concepts/framework-components/#using-framework-components
diff --git a/packages/integrations/react/package.json b/packages/integrations/react/package.json
index 808a984a8..40f47c2b4 100644
--- a/packages/integrations/react/package.json
+++ b/packages/integrations/react/package.json
@@ -18,7 +18,7 @@
"react"
],
"bugs": "https://github.com/withastro/astro/issues",
- "homepage": "https://astro.build",
+ "homepage": "https://docs.astro.build/en/guides/integrations-guide/react/",
"exports": {
".": "./dist/index.js",
"./client.js": "./client.js",