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

6 Extremely Useful Ways to Remove Duplicate Values in JavaScript Arrays

5 Ways to Deduplication Array in JavaScript | Tomoe

Virtual reality with React 360

5 Important skill needs to learn Before and after learning React

Configuring NuxtJS to use AirBnB ESLint (with Vuetify).

Track Web Component When Resizing Without a Library

How to bypass “slider CAPTCHA” with JS and Puppeteer

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

How to Use AI for High Volume Hiring

Artificial Intelligence

Icebreakers don’t have to be a waste of time

Learning Power Moves - The Learn Phase - Karen Boykin-Towns

Is Degree need Skills in our Carrer?