Skip to content
nuxt app
Vue JavaScript CSS
Branch: master
Clone or download
Latest commit 0103229 Jun 17, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode nuxt 11 added Jun 3, 2019
api nuxt 4 plugin May 2, 2019
assets first commit Apr 30, 2019
components first commit Apr 30, 2019
functions recaptcha env setting Jun 17, 2019
layouts nuxt 14 sign router Jun 15, 2019
middleware nuxt 14 sign router Jun 15, 2019
pages
plugins nuxt 14 sign router Jun 15, 2019
server first commit Apr 30, 2019
static first commit Apr 30, 2019
store nuxt 13 firebase vuex Jun 10, 2019
.editorconfig first commit Apr 30, 2019
.eslintrc.js nuxt 4 plugin May 2, 2019
.gitignore nuxt 8 firebase functions start May 21, 2019
.prettierrc first commit Apr 30, 2019
README.md recaptcha env setting Jun 17, 2019
database.rules.json nuxt 7 firebase dotenv May 7, 2019
firebase.json nuxt 7 firebase dotenv May 7, 2019
firestore.indexes.json
firestore.rules nuxt 7 firebase dotenv May 7, 2019
nuxt.config.js recaptcha env setting Jun 17, 2019
package.json nuxt 15 recaptcha Jun 17, 2019
storage.rules nuxt 7 firebase dotenv May 7, 2019
vue.config.js nuxt 11 added Jun 3, 2019
yarn.lock nuxt 15 recaptcha Jun 17, 2019

README.md

memi nuxt lecture

Install tools

  • node
  • yarn
  • firebase-tools

.env File setting

eg)

FIREBASE_APIKEY=yourKey
FIREBASE_AUTHDOMAIN=yourDomain
FIREBASE_PROJECTID=yourProjectId
RECAPTCHA_KEY=yourRecaptchaKey

guide: https://firebase.google.com/docs/firestore/quickstart

Build Setup

# install dependencies
$ yarn

# serve with hot reload at localhost:3000
$ yarn dev

# build for production and launch server
$ yarn build
$ yarn start

# generate static project
$ yarn generate

Firebase Setup

# login
$ firebase login

# init
$ firebase init

Select all and enter default

deploy

$ yarn firebase:deploy

recaptcha setting

$ cd functions
$ firebase functions:config:set recaptcha.key="THE API KEY"

참고: https://www.google.com/recaptcha

리캡차 키를 파이어베이스 펑션스에 저장함

You can’t perform that action at this time.