Skip to content

Vue.js example Strava App that shows Activities stats in chart.js

Notifications You must be signed in to change notification settings

mikeschen/stravacharts

Repository files navigation

S Charts

  1. Create a .env file in the root of the project with this code:
VUE_APP_CLIENT_ID=YOUR_STRAVA_CLIENT_ID
VUE_APP_CLIENT_SECRET=YOUR_STRAVA_CLIENT_SECRET

Recommended IDE Setup

VSCode + Volar (and disable Vetur).

Type Support for .vue Imports in TS

TypeScript cannot handle type information for .vue imports by default, so we replace the tsc CLI with vue-tsc for type checking. In editors, we need Volar to make the TypeScript language service aware of .vue types.

Customize configuration

See Vite Configuration Reference.

Project Setup

npm install

Compile and Hot-Reload for Development

npm run dev

Type-Check, Compile and Minify for Production

npm run build

Lint with ESLint

npm run lint

About

Vue.js example Strava App that shows Activities stats in chart.js

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published