[![npm](https://img.shields.io/npm/dt/@nuxtjs/localtunnel.svg?style=flat-square)](https://www.npmjs.com/package/@nuxtjs/localtunnel) [![npm (scoped with tag)](https://img.shields.io/npm/v/@nuxtjs/localtunnel/latest.svg?style=flat-square)](https://www.npmj


243401.1.32 years ago4 years agoMinified + gzip package size for @nuxtjs/localtunnel in KB


Local Tunnel

npm npm (scoped with tag)

localtunnel exposes your localhost to the world for easy testing and sharing! No need to mess with DNS or deploy just to have others test out your changes. learn more


  • Secure https for all tunnels
  • Show your work to anyone
  • Use the API to test web hooks
  • Test your UI in cloud browsers

Note This module is only enabled in dev mode.


  • Add @nuxtjs/localtunnel dependency using yarn or npm to your project
  • Add @nuxtjs/localtunnel to modules section of nuxt.config.js
    modules: [
      // Simple usage
      // With options
      ['@nuxtjs/localtunnel', { subdomain: 'foobar' }],


(For more information see here)

On next dev, you will something like this in terminal that can be shared with the world:

> Open
> Open https://starter.localtunnel.me for external access



  • Default: process.env.npm_package_name

Request a named subdomain on the localtunnel server (default is random characters)


  • Default: nuxt listening ip (auto detected)

Proxy to a hostname other than localhost


Use another localtunnel server, instead of localtunnel.me

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.