Skip to main content

Building And Testing

Building​

Open a terminal in the project's directory and run this:

npm run build

Then make sure you've added your app to Spicetify's config by running this:

spicetify config extensions my-app.js

Finally, do

spicetify apply

and you'll see your app in Spotify.

Watching​

Please first build your app at least once before watching.

Watching means that it'll rebuild the app every time the code changes.
Go into your project's directory and enter the following command:

npm run watch

Then, run Spotify in watch mode:

spicetify watch -le

Building locally​

If you want to upload the build files with your repository or just see them, you can do:

npm run build-local

And the compiled files will be created in a local dist folder.