Template repository for quickly creating new universal web app (SSR) with VueJs, Nuxt, and Firebase, and deploying it on Firebase Hosting within seconds π
Try here : https://ebfvince.github.io/Spaceship/
These libraries and tools are already setup:
- π€ Vue
- β Nuxt
- π± PWA
- π€ Firebase Auth (and server side verification)
- π₯ Nuxt-Fire : all Firebase tools in Nuxt
- π Prettier : code formatting rules
- π¨ Eslint : control code quality
- β Jest (testing)
# clone Spaceship ππͺ repository
$ git clone https://github.com/EBfVince/Spaceship.git MyAwesomeProject
$ cd MyAwesomeProject
# install dependencies
$ yarn
- Create a Firebase project. For more informations, see here.
- Open
package.json
file. Replace thename
with your project name. - Open
nuxt.config.js
file. On the top of the file, replace thefirebaseConfig
values by yours. - That's it ! ππ»
Made with β€ by EBfStudio and Vince
Domain names need to be verified by Firebase Auth. See here : https://console.firebase.google.com/u/0/project/[project-id]/authentication/providers
Here are some pages you should check to avoid struggling with your project.
# install dependencies
$ yarn install
# serve with hot reload at localhost:3000
$ yarn dev
# build for production and launch server
$ yarn build
$ yarn start
# generate static project
$ yarn generate
For detailed explanation on how things work, check out Nuxt.js docs.