Link based LikeButton on firebase functions + hosting
For introduction ot LikeCoin button, please refer to user guide here.
Please refer to developer guide and integration guide.
├── functions
│ ├── dist # auto generated dist ver by babel
│ ├── modules # aux helpers
│ ├── nuxt # auto generated nuxt directory
│ ├── ssrapp.js # handle nuxt SSR logic
│ └── index.js # import all other functions
├── public_base # public static content, will be merged with nuxt build
├── public # auto generated static content folder from nuxt and public_base
├── src # Actualy nuxt project, where development should happen
├── .firebaserc # define firebase project
└── firebase.json # firebase related settings
# switch to nuxt project directory
$ cd src
# install dependencies
$ npm install # Or yarn install
# serve with hot reload at localhost:3000
$ npm run dev
# build for production and launch server
$ npm start
# deploy everything
$ firebase deploy