Spaceship π
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/
β€ This is made for you
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)
π Get started
πΊ Let's start
# clone Spaceship ππͺ repository
$ git clone https://github.com/EBfVince/Spaceship.git MyAwesomeProject
$ cd MyAwesomeProject
# install dependencies
$ yarn
π¨βπ§ Configuring the project
- Create a Firebase project. For more informations, see here.
- Open
package.jsonfile. Replace thenamewith your project name. - Open
nuxt.config.jsfile. On the top of the file, replace thefirebaseConfigvalues by yours. - That's it ! ππ»
Made with β€ by EBfStudio and Vince
Important stuff
Firebase Authentication
Domain names need to be verified by Firebase Auth. See here : https://console.firebase.google.com/u/0/project/[project-id]/authentication/providers
Important links
Here are some pages you should check to avoid struggling with your project.
Nuxt Fire π₯
Deploy Nuxt on Firebase π
Build Setup
# 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.