In this tutorial video, we cover how to incorporate Tailwind CSS into your Svelte project
package.json scripts: https://gist.github.com/DevAscend/f71934805a76f23d0aab5f16406693da
📚 Library(s) needed:
Creating the Svelte project:
npx degit sveltejs/template your-awesome-project
Adding the dependencies:
npm install autoprefixer postcss-cli tailwindcss concurrently cross-env --save-dev
🖥️ Source code: https://devascend.com/d/github
💡 Have a video request?
Suggest it in the Dev Ascend Discord community server or leave it in the comments below!
🕐 Timestamps:
00:00 Introduction
00:21 Creating Svelte project
00:46 Installing dev dependencies
01:00 Creating postcss and tailwind files
01:47 Setting up scripts
02:25 Importing the index.css file
#tailwind #svelte #devascend
#tailwind #css #svelte #tailwind css