diff --git a/.changeset/polite-mirrors-fix.md b/.changeset/polite-mirrors-fix.md new file mode 100644 index 000000000000..0f4e0a9778ab --- /dev/null +++ b/.changeset/polite-mirrors-fix.md @@ -0,0 +1,5 @@ +--- +"@astrojs/solid-js": patch +--- + +Correct package name in README. Package is `@astrojs/solid-js`, not `@astrojs/solid`. diff --git a/packages/integrations/solid/README.md b/packages/integrations/solid/README.md index bb8c6b848322..ed6d7dc03f70 100644 --- a/packages/integrations/solid/README.md +++ b/packages/integrations/solid/README.md @@ -1,4 +1,4 @@ -# @astrojs/solid 💙 +# @astrojs/solid-js 💙 This **[Astro integration][astro-integration]** enables server-side rendering and client-side hydration for your [SolidJS](https://www.solidjs.com/) components. @@ -12,7 +12,7 @@ Astro includes a CLI tool for adding first party integrations: `astro add`. This 1. (Optionally) Install all necessary dependencies and peer dependencies 2. (Also optionally) Update your `astro.config.*` file to apply this integration -To install `@astrojs/solid`, run the following from your project directory and follow the prompts: +To install `@astrojs/solid-js`, run the following from your project directory and follow the prompts: ```sh # Using NPM @@ -27,10 +27,10 @@ If you run into any hiccups, [feel free to log an issue on our GitHub](https://g ### Install dependencies manually -First, install the `@astrojs/solid` integration like so: +First, install the `@astrojs/solid-js` integration like so: ``` -npm install @astrojs/solid +npm install @astrojs/solid-js ``` Most package managers will install associated peer dependencies as well. Still, if you see a "Cannot find package 'solid-js'" (or similar) warning when you start up Astro, you'll need to install SolidJS: @@ -44,7 +44,7 @@ Now, apply this integration to your `astro.config.*` file using the `integration __astro.config.mjs__ ```js -import solid from '@astrojs/solid'; +import solid from '@astrojs/solid-js'; export default { // ... @@ -62,4 +62,4 @@ To use your first SolidJS component in Astro, head to our [UI framework document 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