0
0
Fork 0

Implement a preview mode that bypasses the Spotify authentication and uses sample data.

This commit is contained in:
Tyler-A 2020-07-08 18:51:04 -06:00
parent 4a61eec9ff
commit ceebbb7b50
4 changed files with 39 additions and 5 deletions

8
app.js
View file

@ -1,4 +1,4 @@
let app = new Vue({
var vue_config = {
el: `#app`,
data: {
api_base: `https://api.spotify.com/v1`,
@ -29,8 +29,8 @@ let app = new Vue({
scopes: [
`user-top-read`
],
show_dialog: true,
use_state: false
show_dialog: false,
use_state: true
},
user: {
name: ``,
@ -81,4 +81,4 @@ let app = new Vue({
this.show.modal.playlist_export = false;
}
}
})
};