Using Tunnel with Zeet
<script>
tag.
<TunnelToolbar />
component to your app<TunnelToolbar />
component in your app. Developers usually only Zeet the <TunnelToolbar />
component in your app when it is running in a Zeet Preview Environment environment.The <TunnelToolbar />
component requires a projectId
prop and a branch
prop.projectId
is the ID of your Tunnel project. You can find your project ID in the Tunnel Dashboard.branch
is the branch name of the Zeet Preview Environment . Zeet automatically injects the ZEET_ENVIRONMENT
environment variable, which you can pass directly to the <TunnelToolbar />
component.