Lots of client-side projects are now using Vite for their development server. Whether it is React, Vue, Svelte kit or other projects, Vite is more important than ever. In this coding short, I show you how you can use Vite at development time in an ASP.NET Core project:
00:00 - Introduction
00:59 - The Vite Project
03:30 - Release Builds to ASP.NET Core
04:54 - Adding Vite Project to a Razor Page
08:02 - Using the Vite Server on a Razor Page
10:03 - Problems with Routing
11:47 - Mapping a Fallback Route
12:57 - Wrapping Up
Blog Article: https://wildermuth.com/2023/01/18/vit...
Source code: https://github.com/shawnwildermuth/co...
If you like this video, you might like other videos in my Instructional Videos:
• Instructional Videos
You can hire me too! You can reach me at my new website:
https://shawn.wildermuth.com