Skip to content

Google API (Drive, Calendar) with window.fetch and VueJS (Sample)

Notifications You must be signed in to change notification settings

WietseWind/sample-vuejs-google-api

Repository files navigation

Google API with VueJS

Google API (Drive, Calendar) with window.fetch and VueJS (Sample)

More on Vue: https://xrpcommunity.blog/develop-awesome-webapps-using-vuejs-webpack-demonstrating-by-building-a-xrp-ledger-integration/

Setup

  • Get a Webapp client id from the Google API Console
  • Make sure your local development url and production url are added to the authorized Javascript soruces; eg. http://localhost:8080 (Vue Webpack default)
  • Make sure you have the Drive and Calendar libs enabled in the Google API Console
  • Put it at line 34 in src/App.vue

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report

About

Google API (Drive, Calendar) with window.fetch and VueJS (Sample)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published