Building And Testing
Building
Open a terminal in the project’s directory and run this:
npm run buildyarn run buildpnpm buildThen make sure you’ve added your app to Spicetify’s config by running this:
spicetify config extensions my-app.jsspicetify config custom_apps my-appFinally, do
spicetify applyand 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 watchyarn run watchpnpm watchThen, run Spotify in watch mode:
spicetify watch -lespicetify watch -laBuilding locally
If you want to upload the build files with your repository or just see them, you can do:
npm run build-localyarn run build-localpnpm build-localAnd the compiled files will be created in a local dist folder.