https://github.com/microwebstacks/astro-examples_react-lottie
testing react lottie with Astro
https://github.com/microwebstacks/astro-examples_react-lottie
Last synced: 3 months ago
JSON representation
testing react lottie with Astro
- Host: GitHub
- URL: https://github.com/microwebstacks/astro-examples_react-lottie
- Owner: MicroWebStacks
- License: mit
- Created: 2022-12-19T13:32:59.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-12-21T09:28:15.000Z (over 2 years ago)
- Last Synced: 2025-04-13T08:27:10.596Z (3 months ago)
- Language: Astro
- Size: 73.2 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# astro-examples_react-lottie
https://www.npmjs.com/package/lottie-react
https://docs.astro.build/en/guides/integrations-guide/react/
```
npm create astro@latest -- --template minimal
```
* enter directory name
* don't install dependencies
* typescript relaxed
```
pnpm install
npx astro add react
```[](https://stackblitz.com/github/MicroWebStacks/astro-examples_react-lottie)
[](https://gitpod.io/?on=gitpod#https://github.com/MicroWebStacks/astro-examples_react-lottie)groovyWalk.json from https://www.npmjs.com/package/lottie-react
## references
* https://stackoverflow.com/questions/74551923/how-to-use-lottie-react-in-astro-build-framework/74851823#74851823