问题
I'm having trouble getting the tutorial project working. I've placed it under homedir/Spotify/Tutorial
In side spotify i enter spotify:app:Tutorial and it asks me if i want to add it to the side bar, which i do. When choosing it its a blank page. Opening up the inspector i see this:
<html>
<head></head>
<body></body>
</html>
Any clues whats wrong? I'm running spotify version 0.8.0.952.g.0298b8ce and i have a developer account.
Thanks in advance /Eric
回答1:
When I take a working app and rename it with a capital letter I get the same behaviour you are describing, try renaming your directory from Tutorial to tutorial then load the app with spotify:app:tutorial
回答2:
if you look at index.html in the body tag there is a variable call 'tutorial' I believe it calls for that when you ask for spotify:app:tutorial since there is no 'Tutorial' variable it returns nothing.
来源:https://stackoverflow.com/questions/8719182/spotify-tutorial-example-app-is-blank