Add Spotify API base to constants file
This commit is contained in:
parent
dd435cb288
commit
8c5ecbab22
2 changed files with 4 additions and 0 deletions
|
|
@ -10,6 +10,9 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
// Import constants file
|
||||
import "./constants.js";
|
||||
|
||||
// Import components
|
||||
import LoginCard from './components/LoginView.vue';
|
||||
import MainView from './components/MainView.vue';
|
||||
|
|
|
|||
1
src/constants.js
Normal file
1
src/constants.js
Normal file
|
|
@ -0,0 +1 @@
|
|||
const SPOTIFY_API_BASE = `https://api.spotify.com/v1`;
|
||||
Loading…
Add table
Add a link
Reference in a new issue