This is a sample App built by Nuxt. You can run this app on both localhost and Web.
If you want to run this app in the real world, use Firebase. All settings is included in this sample.
The same app using Vue CLI3 instead of Nuxt.js is here.
Install dependencies in root directory and functions directory:
// in root directory
yarn
// in funcitons directory
yarn
Build app:
yarn build
Run app in localhost:
yarn serve:pro
// now, app is served in http://localhost:8080
If you want to use hot reloading, use yarn dev
.
First, build this app.
Second, following instruction in Firebase Official page, set up the environments.
If you create project and install and set up firebase cli, you are ready to deploy.
yarn deploy
I use these example project as references. Thanks!