13

Setting Up the Svelte Project

Now that we have covered the basics of Svelte in Chapter 12, it is time for us to start developing our frontend application. We are going to cover how to set up our frontend single-page application (SPA) projects with Svelte, Vite, and TypeScript.

By the end of this chapter, we will have a solid grasp of how to initiate a project and how all the files of our frontend project play together.

We are going to cover the following topics in this chapter:

  • Discussing Vite and SvelteKit
  • Setting up the project
  • Exploring the project structure

Technical requirements

To proceed with this chapter, we won’t need any additional libraries.

All the code examples we are going to discuss in this chapter are available at https://github.com/PacktPublishing/Full-Stack-Web-Development-with-TypeScript-5/tree/main/Chapter13 ...

Get Full-Stack Web Development with TypeScript 5 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.