Nuxt/n-grok How to Expose your Localhost to the Internet

Quick guide

  1. Add @nuxtjs/ngrok dependency using yarn or npm to your project
yarn add @nuxtjs/ngrok
buildModules: [
'@nuxtjs/ngrok',
]

Set up password protection

NGROK_AUTH='username:password'
ngrok: {
ngrokauth: process.env.NGROK_AUTH
}

--

--

--

Hi, my name is Alex. I’m a front-end engineer, passionate for the web, responsive design, & typography.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Return Largest Numbers In Arrays from freecodecamp.com

5 Best JavaScript Style Guides

Migrating from Redux to MobX State Tree, Straight to the Steps

Connecting to MongoDB Atlas

Introduction to Stackdriver Profiler

Understanding Unix Timestamp, UTC, and Date Object in Javascript

Track Web Component When Resizing Without a Library

JavaScript’s New Sexy

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Alex Kasongo

Alex Kasongo

Hi, my name is Alex. I’m a front-end engineer, passionate for the web, responsive design, & typography.

More from Medium

The Concept of an Operating System

A Dismantle Approach of Likes, Retweets and Forwards by Bhavya Jain

Galaxy battleship Strike L2 Hackathon

Sadat Hasan Manto: a craftsman of Short Story