Integrations
When it comes to building modern web applications, it’s not uncommon to use a plethora of technologies. Each tool has its place, and it may be the case that a developer is more comfortable with a particular frontend framework than they are with standard CSS. This is fine, as it can speed up development so long as the tools integrate nicely with others. Fortunately for us, SvelteKit works quite well with others.
At the time of writing, Tailwind CSS has become incredibly popular. Tailwind CSS aims to reduce the amount of shipped CSS by only extracting that which is used. This is great to reduce the amount of assets delivered to clients and speed up load times. To showcase how simple it is to integrate a tool such as Tailwind CSS in our existing SvelteKit project, let’s work through it. These steps can also be found in the official Tailwind CSS documentation. It’s recommended to create a new branch in your repository before starting this process, as...