Skip to content

Tencil 0.5.0: load Tencil on previews

Load the overlay from Tencil Cloud on preview deployments by setting a project key.

tencil@0.5.0 on npm

Add Tencil to preview deployments

Set TENCIL_CLOUD to your project key in the host’s preview environment. The Vite plugin and <Tencil /> then load the overlay from Tencil Cloud with the repository, branch and commit reported by Vercel, Netlify, Cloudflare Pages or GitHub Actions.

The overlay doesn’t load on production deployments. Builds without TENCIL_CLOUD stay unchanged. Run tencil init --cloud to set up the project without starting a local daemon.

terminal

npx tencil init --cloud

Install or update Tencil

Run npx tencil in your project to get started. To update an existing install, run the command below. On Tencil 0.8.0 or later, you can also update from the overlay’s settings (About in 0.10.0 or later).

terminal

npx tencil@latest setup

Back to the changelog