vue_nowplaying_spotify

0.1.2 • Public • Published

This package let's you display what you're currently listening to on spotify.

To use it, you need Spotify's Client ID, Client Secret and Refresh Token saved as environment variables. How to get these.

VUE_APP_SPOTIFY_CLIENT_ID=
VUE_APP_SPOTIFY_CLIENT_SECRET=
VUE_APP_SPOTIFY_RT=

Install the package

yarn add vue_nowplaying_spotify

Once you have installed the package, in your entry file of the repository (main.js if you are using it in a Vue CLI project).

Write the import command

import SpotifyNowPlaying from 'vue_nowplaying_spotify'

To install it globally:

Vue.use(SpotifyNowPlaying)

You can also import the individual components locally:

import SpotifyNowPlaying from 'vue_nowplaying_spotify'

Readme

Keywords

Package Sidebar

Install

npm i vue_nowplaying_spotify

Weekly Downloads

0

Version

0.1.2

License

MIT

Unpacked Size

1.01 MB

Total Files

21

Last publish

Collaborators

  • feelfetch