repl_setup

Configure Angular, React+Vite, or Vue dev servers for Replit previews.

2|Updated Apr 11, 2026
One-click install
npx skills add https://github.com/kvm9-dev/susanoo --skill repl-setup-kvm9-dev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: repl_setup
Source: https://github.com/kvm9-dev/susanoo/tree/main/.local/skills/repl_setup
Command: npx skills add https://github.com/kvm9-dev/susanoo --skill repl-setup-kvm9-dev

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

It solves the frustrating issue where a web app runs but the user cannot see the frontend in Replit’s proxied iframe preview.

Core Features & Use Cases

  • Replit host and port configuration: Ensures your dev server binds to the correct interface and uses the required port so the proxy can reach it.
  • Framework-specific allowedHosts fixes: Provides targeted setup guidance for Angular, React+Vite, and Vue to allow the Replit proxy.
  • Frontend-to-backend connectivity guidance: Recommends using the Replit public DOMAIN instead of localhost for API calls.

Use case example: You update your React/Vite app, the workflow is running, but the iframe preview shows a blank page—this skill guides you to correct host/allowedHosts/port settings and verify console logs.

Quick Start

Use the repl_setup skill to configure your framework dev server so it binds correctly for Replit and can be accessed through the iframe proxy.

Frequently Asked Questions about repl_setup

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
Why does my Replit preview show a blank page when my dev server is running?

A blank Replit preview usually means your dev server is not binding to the correct host and port. You must configure your frontend server to bind to 0.0.0.0:5000 so the Replit proxy can successfully reach and display it.

How do I fix the invalid host header error in React Vite or Vue on Replit?

To fix the invalid host header error in React Vite or Vue, you need to enable allowedHosts or bypass the host-check in your framework configuration. This allows the Replit proxy to forward requests to your frontend without being rejected.

How do I connect my frontend to a local backend API in a Replit preview?

To connect your frontend to a local backend API in the Replit preview, replace all localhost API calls with your Replit public DOMAIN. This ensures your single-page app communicates correctly with local backend APIs through the proxied environment.

Does Angular require specific allowedHosts settings for the Replit proxy?

Yes, Angular requires specific allowedHosts settings to work with the Replit proxy. Framework-specific fixes for Angular, React+Vite, and Vue are necessary to disable host checking and allow the proxy to render your dev server output.

What is the correct restart order for troubleshooting Replit preview visibility?

The correct restart order for troubleshooting Replit preview visibility involves verifying console logs, applying host and port configurations, and then restarting the workflow. Following this specific order ensures the proxy connects to the updated dev server settings.

Can I apply Replit preview fixes to newly created web apps?

Yes, you can apply Replit preview fixes to newly created or updated web apps. The setup process configures your framework dev server to bind correctly, ensuring reliable iframe proxy access for any new single-page application.