This repository demonstrates how to integrate the Pluto Frame libraries in both vanilla JavaScript and React applications:
- @plutoxyz/frame-js - For vanilla JavaScript applications
- @plutoxyz/react-frame - For React applications
For detailed documentation and integration guides, visit docs.pluto.xyz
- Install dependencies
npm install
- Run examples
npm run javascript # Vanilla JavaScript example
npm run react # React example
Navigate to http://localhost:5173/
in your browser.
These examples demonstrate the minimal setup required to integrate Pluto Frame. Both setups load the demo script from script.js
.
- Implementation:
examples/vanilla-js/index.js
- HTML template:
examples/vanilla-js/index.html
- Basic component:
examples/react/App.jsx
- Entry point:
examples/react/main.jsx
- Telegram - Community chat and support
MIT License - see LICENSE.md for details.