Documentation Index
Fetch the complete documentation index at: https://docs.tunnel.dev/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Using Tunnel in your development environment allows you to tackle feedback in context and collaborate with your team. You can also use Tunnel to share live previews of your app.
Setup
Vite
Next.js
Other frameworks
Install the Tunnel CLI
Add Tunnel to your dev script
Adding Tunnel to your dev script will add the Tunnel Toolbar to your localhost and automatically share your app when you run your dev command."scripts": {
"dev": "tunnel 5173 -- vite dev --port PORT"
}
Install the Tunnel CLI
Adding Tunnel to your dev script will add the Tunnel Toolbar to your localhost and automatically share your app when you run your dev command.Add Tunnel to your dev script
"scripts": {
"dev": "tunnel 3000 -- next dev --port 3000"
}
Install the Tunnel CLI globally
npm install -g @tunnel/cli
Run tunnel share . in your project directory