Comments (2)
If the intention is to use it for CI, I assume you just need a React page/component to be served from a server rather than a full repl with file saving and stuff (which would need its own server or Vercel).
If you want to be able to upload JSX and get a build JS file out I can set up a bundler like Parcel and link its result to GitHub Pages somehow (which normally only publishes static files and Jekyll)
Example flow:
- Check out
playground
repo - Duplicate
react-app-example
- Make your changes
- Commit
- Access it at
https://pixiebrix.github.io/playground/my-shiny-react-app
Let me know how to proceed.
from playground.
If the intention is to use it for CI
Sorry, didn't fully flesh out the issue. I want to use it for the Rainforest QA jobs we'll run as part of the extension CI. We'll have the the Rainforest QA test install some blueprints and ensure they work on the page
For the React code in the repl.it, it's totally OK have the playground CI/CD build create a static bundle that it serves up. I'm happy to use whatever build tool is easiest (e.g., Create React App might be easiest since the project doesn't use any special features?)
The only gotcha is the sandbox app currently uses React Router with url path based routing. So that might not be supported by GitHub pages?
from playground.
Related Issues (20)
- Add infinite scroll example HOT 1
- Use subdomain like playground.pixiebrix.com? HOT 4
- Add CRM style pages
- Add BPM style pages (e.g., forms)
- Disable dependabot upgrade PRs HOT 1
- Add index.html for project root
- Add Ember CLI example
- Add vue admin example HOT 6
- Fix public url in JS of react-example
- react-example page links cannot be accessed directly HOT 4
- Add react admin example
- Add ngx-admin example
- vue-element-admin route cleanup HOT 2
- Rethink deployment strategy HOT 1
- Add AngularJS example HOT 2
- Error: "You are loading Turbolinks from a <script> element inside the <body> element" HOT 1
- Add complex pages from real websites, even if completely static
- Add advanced fields playground
- `advanced-fields` issues HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from playground.