Posts In "Svelte"

Refactoring and Optimising Our Router Within Svelte

In Part 3 of the series on Working with Svelte, We are going to take a look at how to improve our router (implemented with Page.js) and refactor the code to provide a more solid approach. We will also set up our application to easily add in new routes.

Read More

Setting up Routing In Svelte with Page.js

In Part 2 of the series on Working with Svelte we are going to take a look at how to implement basic routing into our Svelte application by leveraging Page.js. We will then go onto talk about further ways in which we can expand this router for authentication and passing page parameters.

Read More

Installating Svelte & Integrating Tailwind CSS (and PostCSS)

In Part 1 of the series on Working with Svelte we will take a glance at how to set up Svelte 3 from a template and then how to integrate PostCSS, PurgeCSS and Tailwind. You will be able to use this to then expand on any other PostCSS plugins (such as autoprefixer or import).

Read More