ssr-emotion-react 1.0.3 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/dist/astro-integration.js +51 -47
- package/dist/dist-HAV2LYN2.js +33 -0
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -22,6 +22,8 @@ npm install ssr-emotion-react
|
|
|
22
22
|
|
|
23
23
|
Add the integration in `astro.config.mjs`.
|
|
24
24
|
|
|
25
|
+
> **Notes:** If you are also using `@astrojs/react`, you must remove it or place `ssrEmotion()` before `react()` in the `integrations` array. This ensures that `ssr-emotion-react` can correctly handle component rendering and extract styles.
|
|
26
|
+
|
|
25
27
|
```js
|
|
26
28
|
import { defineConfig } from 'astro/config';
|
|
27
29
|
import ssrEmotion from 'ssr-emotion-react/astro';
|