Local Module
Local Module for setting up a tunnel using ngrok
In this example:
-
modules/ngrok/index.jsadds a public URL from ngrok to the Nuxt CLI when in dev mode. -
pages/index.vueshows the public URL from ngrok. -
nuxt.config.jsregisters our module using thebuildModulesproperty.
Learn more in the Directory Structure book in the modules chapter.
Loading Sandbox...
Edit this page on GitHub
Updated at Mon, Jul 12, 2021