@nuxtjs/localtunnel
[![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
Last updated 3 years ago by pi0 .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @nuxtjs/localtunnel 
SYNC missed versions from official npm registry.

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

Features

  • 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.

Setup

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

Usage

(For more information see here)

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

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

Options

subdomain

  • Default: process.env.npm_package_name

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

local_host

  • Default: nuxt listening ip (auto detected)

Proxy to a hostname other than localhost

remote_host

Use another localtunnel server, instead of localtunnel.me

Current Tags

  • 1.1.3                                ...           latest (a year ago)

14 Versions

  • 1.1.3                                ...           a year ago
  • 1.1.2                                ...           a year ago
  • 1.1.1                                ...           a year ago
  • 1.1.0                                ...           2 years ago
  • 1.0.3                                ...           2 years ago
  • 1.0.2                                ...           3 years ago
  • 1.0.1                                ...           3 years ago
  • 1.0.0                                ...           3 years ago
  • 0.1.5                                ...           3 years ago
  • 0.1.4                                ...           3 years ago
  • 0.1.3                                ...           3 years ago
  • 0.1.2                                ...           3 years ago
  • 0.1.1                                ...           3 years ago
  • 0.1.0                                ...           3 years ago
Downloads
Today 1
This Week 1
This Month 2
Last Day 0
Last Week 0
Last Month 5
Dependencies (1)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |