March 2018
Beginner to intermediate
344 pages
7h 7m
English
If we want to test our application on a device without worrying about deployment, we could use a tool, such as ngrok, to create a tunnel between our localhost and the outside world. This allows us to view our application on any device with a public URL, and once we close the connection, the URL and subsequent application disappear.
Download ngrok by navigating to https://ngrok.com/download and following the installation steps for your platform.
Ngrok also can be installed via npm typing :
npm install ngrok -g
As our Vue application is running on port 8080, we can start ngrok and tell it to serve from that port. Run the following command in your Terminal with ngrok installed:
$ ngrok http 8080
We then get the following ...
Read now
Unlock full access