This is the template to create web applications with
- functions: For Firebase Cloud Functions
- src: For Nuxt.js Project
- public: For Firebase Hosting
First of all, you need to set your FIrebase project with Firebase CLI.
After that, you have to install npm packages.
$ vue init taishikato/nuxt-express-firebase-template my-project
$ cd my-project
# install dependencies in src and functions with npm install Or yarn
Next, let's make your app work on your computer😙
$ cd src && yarn build
$ cd .. && mkdir public
$ cp -R functions/nuxt/dist/ public/
$ firebase serve --only hosting,functions
$ firebase deploy --only hosting,functions