Skip to content

nishant26n/spotify-clone

Repository files navigation

NEXT.JS 12 with TailwindCSS

npx create-next-app spotify-clone

cd spotify-clone

npm install -D tailwindcss postcss autoprefixer

npx tailwindcss init -p

Add the paths to all of your template files in your tailwind.config.js file.

module.exports = {

content: [

"./pages/**/*.{js,ts,jsx,tsx}",

"./components/**/*.{js,ts,jsx,tsx}",

],

theme: {

extend: {},

},

plugins: [],

}

Add the @tailwind directives for each of Tailwind’s layers to your ./styles/globals.css file.

@tailwind base;

@tailwind components;

@tailwind utilities;

Run your build process with "npm run dev".

About

I build this clone by using spotify api, as we know there are so many things in Spotify like trendings, artists, charts, genre, liked songs, playlists, tracks etc. But I include playlists, tracks and recents tracks in spotify-clone.

Screenshots

Screenshot 2022-01-17 at 3 45 40 PM

Screenshots

Screenshot 2022-01-17 at 3 45 40 PM