Remote Access ​
You can run your presentation with remote access by using the --remote flag:
bash
npm run dev -- --remote
# i.e. slidev --remotebash
pnpm dev -- --remote
# i.e. slidev --remotebash
yarn dev --remote
# i.e. slidev --remotePassword Protection ​
If you want to share your slides but don't want other people to access the presenter mode, you can pass a password to the option, i.e. --remote=your_password. Then the password is required when accessing the presenter mode.
Remote Tunnel ​
You can open a Cloudflare Quick Tunnels to expose your local server to the internet. This way, you can share your slides with others without setting up a server.
bash
npm run dev -- --remote --tunnel
# i.e. slidev --remote --tunnelbash
pnpm dev -- --remote --tunnel
# i.e. slidev --remote --tunnelbash
yarn dev --remote --tunnel
# i.e. slidev --remote --tunnel