Skip to content

lliao6060/vue-google-sheet-api-demo

Repository files navigation

vue2 google sheet api串接練習

需至.env將以下三個換成你自己的

VUE_APP_GOOGLE_SHEET_URL = '' //google sheet分享的網址
VUE_APP_GOOGLE_SHEET_ID = '' //google sheet網址上的ID
//請參考 https://docs.google.com/spreadsheets/d/SHEET_ID/edit#gid=0
VUE_APP_GOOGLE_WEB_APP_ID = '' //google sheet的apps script部屬後得到的id

讀取資料

npm i google-spreadsheet --save

新增資料

use plugins

備註

  1. 沒有做RWD
  2. 每隔60秒會自動更新

Live Demo

vue2-google-sheet-api-demo

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published