Skip to content

taishikato/nuxt-express-firebase-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Nuxt Express Firebase Template

This is the template to create web applications with

Directories

  • functions: For Firebase Cloud Functions
  • src: For Nuxt.js Project
  • public: For Firebase Hosting

How to use

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

How to deploy

$ firebase deploy --only hosting,functions

About

The template for Nuxt.js x Express x Firebase

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published