Use a shared Convex backend for StackBlitz
Custom StackBlitz dev command that uses a shared backend. This makes https://tanstack.com/router/v1/docs/framework/react/examples/start-convex-trellaux usable.
Clear this shared table every 20 minutes.
☁️ Nx Cloud Report
CI is running/has finished running commands for commit 125fad552ac50aeb96dafbf7cb54ccc1f39c080a. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.
📂 See all runs for this CI Pipeline Execution
✅ Successfully ran 2 targets
Sent with 💌 from NxCloud.
Is there a nicer way to do this, e.g. a custom StackBlitz command maybe? I need to find where StackBlitz config is done.
I see https://developer.stackblitz.com/platform/webcontainers/project-config, maybe a package.json field is cleaner here.
More templates
- tanstack-router-react-example-authenticated-routes
- tanstack-router-react-example-basic
- tanstack-router-react-example-basic-default-search-params
- tanstack-router-react-example-basic-file-based
- tanstack-router-react-example-basic-file-based-codesplitting
- tanstack-router-react-example-react-query
- tanstack-router-react-example-basic-react-query-file-based
- tanstack-router-react-example-basic-ssr-file-based
- tanstack-router-react-example-basic-ssr-streaming-file-based
- tanstack-router-react-example-basic-virtual-file-based
- tanstack-router-react-example-basic-virtual-inside-file-based
- tanstack-router-react-example-deferred-data
- tanstack-router-react-example-kitchen-sink
- tanstack-router-react-example-kitchen-sink-file-based
- tanstack-router-react-example-kitchen-sink-react-query
- tanstack-router-react-example-kitchen-sink-react-query-file-based
- tanstack-router-react-example-location-masking
- tanstack-router-react-example-large-file-based
- tanstack-router-react-example-navigation-blocking
- tanstack-router-react-example-quickstart
- tanstack-router-react-example-quickstart-file-based
- tanstack-router-react-example-quickstart-rspack-file-based
- tanstack-router-react-example-quickstart-webpack-file-based
- router-monorepo-react-query
- router-mono-simple
- tanstack-router-react-example-scroll-restoration
- tanstack-router-search-validator-adapters
- tanstack-start-example-basic
- tanstack-start-example-basic-auth
- tanstack-start-example-basic-rsc
- tanstack-start-example-basic-react-query
- tanstack-start-example-clerk-basic
- tanstack-start-example-convex-trellaux
- tanstack-start-example-counter
- tanstack-start-example-supabase-basic
- tanstack-start-example-trellaux
- tanstack-router-react-example-with-framer-motion
- tanstack-router-react-example-with-trpc
- tanstack-router-react-example-with-trpc-react-query
@tanstack/eslint-plugin-router
pnpm add https://pkg.pr.new/@tanstack/eslint-plugin-router@2606
@tanstack/react-cross-context
pnpm add https://pkg.pr.new/@tanstack/react-cross-context@2606
@tanstack/history
pnpm add https://pkg.pr.new/@tanstack/history@2606
@tanstack/react-router-with-query
pnpm add https://pkg.pr.new/@tanstack/react-router-with-query@2606
@tanstack/router-arktype-adapter
pnpm add https://pkg.pr.new/@tanstack/router-arktype-adapter@2606
@tanstack/router-cli
pnpm add https://pkg.pr.new/@tanstack/router-cli@2606
@tanstack/react-router
pnpm add https://pkg.pr.new/@tanstack/react-router@2606
@tanstack/router-generator
pnpm add https://pkg.pr.new/@tanstack/router-generator@2606
@tanstack/router-devtools
pnpm add https://pkg.pr.new/@tanstack/router-devtools@2606
@tanstack/router-plugin
pnpm add https://pkg.pr.new/@tanstack/router-plugin@2606
@tanstack/router-valibot-adapter
pnpm add https://pkg.pr.new/@tanstack/router-valibot-adapter@2606
@tanstack/router-vite-plugin
pnpm add https://pkg.pr.new/@tanstack/router-vite-plugin@2606
@tanstack/router-zod-adapter
pnpm add https://pkg.pr.new/@tanstack/router-zod-adapter@2606
@tanstack/start-vite-plugin
pnpm add https://pkg.pr.new/@tanstack/start-vite-plugin@2606
@tanstack/start
pnpm add https://pkg.pr.new/@tanstack/start@2606
@tanstack/create-router
pnpm add https://pkg.pr.new/@tanstack/create-router@2606
@tanstack/virtual-file-routes
pnpm add https://pkg.pr.new/@tanstack/virtual-file-routes@2606
commit: 125fad5
Updated, no more wacky environment detection, just add a .stackblitzrc file.
I'm not sure how to test this approach though so I'm not confident it works.
The next thing to figure out is how to make this deploy with one click on Vercel. I think this should use the same approach: if you haven't actually closed this project, use the shared backend?